pacify MSVC warnings for time.c
Merge pull request #2219 from kyab/fix_msvc_warning_time.c

Pacify MSVC warnings for time.c