aboutsummaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index ba9685642..5dd1e49d8 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -770,7 +770,7 @@ CURLcode Curl_http(struct connectdata *conn)
* actually send. Let's make a NULL pointer equal "" here. Good/bad
* ?
*/
- data->postfields = "";
+ data->postfields = (char *)"";
data->postfieldsize = 0; /* it might been set to something illegal,
anything > 0 would be! */
}