From b1616dad8f088d873d88f88b4d884335a4ca285f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 31 Jul 2019 15:30:31 +0200 Subject: timediff: make it 64 bit (if possible) even with 32 bit time_t ... to make it hold microseconds too. Fixes #4165 Closes #4168 --- lib/hostip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip.c') diff --git a/lib/hostip.c b/lib/hostip.c index 5122070a0..bd532a891 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -624,7 +624,7 @@ int Curl_resolv_timeout(struct connectdata *conn, const char *hostname, int port, struct Curl_dns_entry **entry, - time_t timeoutms) + timediff_t timeoutms) { #ifdef USE_ALARM_TIMEOUT #ifdef HAVE_SIGACTION -- cgit v1.2.3