From 0f125d9bcf016d092788a904e2b7a12121a153f6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 13 Nov 2005 22:54:00 +0000 Subject: [PATCH] prevent compiler warning --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':