From: Daniel Stenberg Date: Sun, 13 Nov 2005 22:54:00 +0000 (+0000) Subject: prevent compiler warning X-Git-Tag: curl-7_15_1~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f125d9bcf016d092788a904e2b7a12121a153f6;p=curl prevent compiler warning --- 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':