prevent compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Sun, 13 Nov 2005 22:54:00 +0000 (22:54 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 13 Nov 2005 22:54:00 +0000 (22:54 +0000)
src/main.c

index c432419..5686114 100644 (file)
@@ -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':