diff --git a/lib/file.c b/lib/file.c index 7bbf8a340..c8315ae46 100644 --- a/lib/file.c +++ b/lib/file.c @@ -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;