The magnitude-6.4 earthquake was about 6 miles deep, the U.S. Geological Survey said.