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:
d471451
)
prevent compiler warning
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 13 Nov 2005 22:54:00 +0000
(22:54 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 13 Nov 2005 22:54:00 +0000
(22:54 +0000)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index c43241930b52ba26e28d27bced330212c52731d8..56861147432896489047752e9dfb3932e15093c6 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-1499,7
+1499,7
@@
static ParameterError getparameter(char *flag, /* f or -long-flag */
curl_off_t value = curlx_strtoofft(nextarg, &unit, 0);
if(strlen(unit) != 1)
- unit="w"; /* unsupported */
+ unit=
(char *)
"w"; /* unsupported */
switch(*unit) {
case 'G':