The next day , about 10 hours before the storm passed by the island , the tropical storm warning was made into a hurricane warning . The following day , about 10 hours before the storm 's closest approach to the island , the tropical storm warning was upgraded to a hurricane warning .