fix gettimeofday_us return type to long