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/http2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http2.c') diff --git a/lib/http2.c b/lib/http2.c index bfc0837b0..930e85165 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -233,7 +233,7 @@ static unsigned int http2_conncheck(struct connectdata *check, if(checks_to_perform & CONNCHECK_KEEPALIVE) { struct curltime now = Curl_now(); - time_t elapsed = Curl_timediff(now, check->keepalive); + timediff_t elapsed = Curl_timediff(now, check->keepalive); if(elapsed > check->upkeep_interval_ms) { /* Perform an HTTP/2 PING */ -- cgit v1.2.1