diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index c43241930..568611474 100644 --- 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': |