]> granicus.if.org Git - curl/commit
lib: fix compiler warnings after de4de4e3c7c
authorMarcel Raad <raad@teamviewer.com>
Fri, 18 Nov 2016 09:07:08 +0000 (10:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Nov 2016 09:11:55 +0000 (10:11 +0100)
commit21aa32d30dbf319f2d336e0cb68d3a3235869fbb
treef8dc171c75e56b4b96254c87c60a37cd2f34273f
parent0b8d682f81ee9acb763dd4c9ad805fe08d1227c0
lib: fix compiler warnings after de4de4e3c7c

Visual C++ now complains about implicitly casting time_t (64-bit) to
long (32-bit). Fix this by changing some variables from long to time_t,
or explicitly casting to long where the public interface would be
affected.

Closes #1131
18 files changed:
lib/asyn-thread.c
lib/connect.c
lib/connect.h
lib/ftp.c
lib/hostip.c
lib/hostip.h
lib/http_proxy.c
lib/multi.c
lib/multiif.h
lib/pingpong.c
lib/pingpong.h
lib/select.c
lib/select.h
lib/socks.c
lib/tftp.c
lib/transfer.c
lib/url.c
lib/urldata.h