]> granicus.if.org Git - curl/commit
time: fix type conversions and compiler warnings
authorMichael Kaufmann <mail@michael-kaufmann.ch>
Sat, 20 May 2017 17:39:51 +0000 (19:39 +0200)
committerMichael Kaufmann <mail@michael-kaufmann.ch>
Wed, 24 May 2017 20:56:22 +0000 (22:56 +0200)
commit8ab22a74533acee61af31c48e75269822f408cb4
tree24025f8450cf3b72eb5bf9316c1212b0a571363c
parentb4d87f54d60711e936fefae388d741b281eecdf0
time: fix type conversions and compiler warnings

Fix bugs and compiler warnings on systems with 32-bit long and
64-bit time_t.

Reviewed-by: Daniel Stenberg
Closes #1499
13 files changed:
lib/asyn-ares.c
lib/easy.c
lib/hostip.c
lib/timeval.c
lib/timeval.h
src/tool_util.c
src/tool_util.h
tests/libtest/lib1501.c
tests/libtest/lib1507.c
tests/libtest/lib1900.c
tests/libtest/lib582.c
tests/libtest/testutil.c
tests/libtest/testutil.h