diff options
Diffstat (limited to 'lib/asyn-thread.c')
-rw-r--r-- | lib/asyn-thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asyn-thread.c b/lib/asyn-thread.c index a86772965..96babb728 100644 --- a/lib/asyn-thread.c +++ b/lib/asyn-thread.c @@ -535,7 +535,8 @@ CURLcode Curl_resolver_is_resolved(struct connectdata *conn, } else { /* poll for name lookup done with exponential backoff up to 250ms */ - time_t elapsed = Curl_tvdiff(Curl_tvnow(), data->progress.t_startsingle); + timediff_t elapsed = Curl_timediff(Curl_tvnow(), + data->progress.t_startsingle); if(elapsed < 0) elapsed = 0; |