From: Yang Tse Date: Thu, 8 Dec 2005 20:38:04 +0000 (+0000) Subject: Fix compiler warning X-Git-Tag: curl-7_15_2~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a0ed81e6795f773dbb876ec83d5c22d9504077f;p=thirdparty%2Fcurl.git Fix compiler warning --- diff --git a/lib/tftp.c b/lib/tftp.c index f2cd3fb012..da250fca87 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -205,7 +205,7 @@ void tftp_set_timeouts(tftp_state_data_t *state) else { /* Compute drop-dead time */ - maxtime = data->set.timeout?data->set.timeout:3600; + maxtime = (time_t)(data->set.timeout?data->set.timeout:3600); state->max_time = state->start_time+maxtime; /* Set per-block timeout to 10% of total */