diff options
author | Guenter Knauf <lists@gknw.net> | 2010-09-03 20:35:34 +0200 |
---|---|---|
committer | Guenter Knauf <lists@gknw.net> | 2010-09-03 20:35:34 +0200 |
commit | d47bd396cecd755c5f88d1e0c7b82a81bca8bd83 (patch) | |
tree | 8819e54cd75795bd16784055eae30df5d9bdb8b9 /lib/tftp.c | |
parent | 6882ae8dee90ca35bcd5c5b5588a4018798e222b (diff) | |
download | curl-d47bd396cecd755c5f88d1e0c7b82a81bca8bd83.tar.gz |
Trial to fix another compiler warning with braces.
Diffstat (limited to 'lib/tftp.c')
-rw-r--r-- | lib/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tftp.c b/lib/tftp.c index 38b77fa42..83be8e2b9 100644 --- a/lib/tftp.c +++ b/lib/tftp.c @@ -1182,7 +1182,7 @@ static long tftp_state_timeout(struct connectdata *conn, tftp_event_t *event) /* there's a typecast below here since 'time_t' may in fact be larger than 'long', but we estimate that a 'long' will still be able to hold number of seconds even if "only" 32 bit */ - return (long) state->max_time-current; + return (long)(state->max_time - current); } |