From: Guenter Knauf Date: Fri, 3 Sep 2010 18:35:34 +0000 (+0200) Subject: Trial to fix another compiler warning with braces. X-Git-Tag: upstream/7.37.1~4768 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d47bd396cecd755c5f88d1e0c7b82a81bca8bd83;p=platform%2Fupstream%2Fcurl.git Trial to fix another compiler warning with braces. --- diff --git a/lib/tftp.c b/lib/tftp.c index 38b77fa..83be8e2 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); }