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 3b05184ad..6b22c2c10 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2063,7 +2063,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
if(!data->state.proto.http) {
/* Only allocate this struct if we don't already have it! */
- http = (struct HTTP *)calloc(sizeof(struct HTTP), 1);
+ http = calloc(sizeof(struct HTTP), 1);
if(!http)
return CURLE_OUT_OF_MEMORY;
data->state.proto.http = http;