diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-13 22:54:00 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-13 22:54:00 +0000 |
commit | 0f125d9bcf016d092788a904e2b7a12121a153f6 (patch) | |
tree | 99f02481426d7ea947838dd6225fb71d10ab2b52 /src | |
parent | d4714517c0fc1458c138512d77a285735546dc8f (diff) |
prevent compiler warning
Diffstat (limited to 'src')
-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': |