Commit 6a0ed81e authored by Yang Tse's avatar Yang Tse
Browse files

Fix compiler warning

parent c94f3e81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */