Commit f50124f5 authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Daniel Stenberg
Browse files

timeval.c: Use long long constant type for timeval assignment

On a 64 bit host, sparse says:

timeval.c:148:15: warning: constant 0x7fffffffffffffff is so big it is long
timeval.c:149:12: warning: constant 0x7fffffffffffffff is so big it is long

so let's use long long constant types in order to prevent undesired overflow
failures.

Bug: https://curl.haxx.se/mail/lib-2017-07/0003.html



Closes #1636

Signed-off-by: default avatarMartin Kepplinger <martink@posteo.de>
parent b3786f61
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment