fix warning
authorDaniel Stenberg <daniel@haxx.se>
Thu, 24 Jun 2004 15:06:25 +0000 (15:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 24 Jun 2004 15:06:25 +0000 (15:06 +0000)
lib/file.c

index 7bbf8a3..c8315ae 100644 (file)
@@ -307,7 +307,7 @@ CURLcode Curl_file(struct connectdata *conn)
       return result;
 
     result = Curl_client_write(data, CLIENTWRITE_BOTH,
-                               "Accept-ranges: bytes\r\n", 0);
+                               (char *)"Accept-ranges: bytes\r\n", 0);
     if(result)
       return result;