mirror of https://github.com/moparisthebest/curl
Fix compiler warning
This commit is contained in:
parent
c94f3e8188
commit
6a0ed81e67
|
@ -205,7 +205,7 @@ void tftp_set_timeouts(tftp_state_data_t *state)
|
||||||
else {
|
else {
|
||||||
|
|
||||||
/* Compute drop-dead time */
|
/* 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;
|
state->max_time = state->start_time+maxtime;
|
||||||
|
|
||||||
/* Set per-block timeout to 10% of total */
|
/* Set per-block timeout to 10% of total */
|
||||||
|
|
Loading…
Reference in New Issue