projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6882ae8
)
Trial to fix another compiler warning with braces.
author
Guenter Knauf
<lists@gknw.net>
Fri, 3 Sep 2010 18:35:34 +0000
(20:35 +0200)
committer
Guenter Knauf
<lists@gknw.net>
Fri, 3 Sep 2010 18:35:34 +0000
(20:35 +0200)
lib/tftp.c
patch
|
blob
|
history
diff --git
a/lib/tftp.c
b/lib/tftp.c
index 38b77fa4263feedbb00b5f41753ddb3e9b85ad82..83be8e2b94706f18bf50f85d0c536f34b33f81d1 100644
(file)
--- 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)
;
}