7.4 magnitude quake prompts tsunami warning