From 6a0ed81e6795f773dbb876ec83d5c22d9504077f Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 8 Dec 2005 20:38:04 +0000 Subject: [PATCH] Fix compiler warning --- lib/tftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tftp.c b/lib/tftp.c index f2cd3fb..da250fc 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 */ -- 2.7.4