1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

typecast to fix warning on 64bit systems

This commit is contained in:
Daniel Stenberg 2005-05-12 08:51:30 +00:00
parent ebcaa3d579
commit 5f538ce3f8

View File

@ -3373,9 +3373,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
#ifdef HAVE_ALARM #ifdef HAVE_ALARM
/* alarm() makes a signal get sent when the timeout fires off, and that /* alarm() makes a signal get sent when the timeout fires off, and that
will abort system calls */ will abort system calls */
prev_alarm = alarm(data->set.connecttimeout? prev_alarm = alarm((unsigned int) (data->set.connecttimeout?
data->set.connecttimeout: data->set.connecttimeout:
data->set.timeout); data->set.timeout));
/* We can expect the conn->created time to be "now", as that was just /* We can expect the conn->created time to be "now", as that was just
recently set in the beginning of this function and nothing slow recently set in the beginning of this function and nothing slow
has been done since then until now. */ has been done since then until now. */