aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/timeval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timeval.c b/lib/timeval.c
index 69a8fb1fc..d7207b3a2 100644
--- a/lib/timeval.c
+++ b/lib/timeval.c
@@ -158,5 +158,5 @@ time_t Curl_tvdiff_us(struct curltime newer, struct curltime older)
return 0x7fffffffffffffffLL;
#endif
return (newer.tv_sec-older.tv_sec)*1000000+
- (time_t)(newer.tv_usec-older.tv_usec);
+ (int)(newer.tv_usec-older.tv_usec);
}