Commit 5f538ce3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

typecast to fix warning on 64bit systems

parent ebcaa3d5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -3373,9 +3373,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
#ifdef HAVE_ALARM
    /* alarm() makes a signal get sent when the timeout fires off, and that
       will abort system calls */
    prev_alarm = alarm(data->set.connecttimeout?
    prev_alarm = alarm((unsigned int) (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
       recently set in the beginning of this function and nothing slow
       has been done since then until now. */