diff options
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 77a99cc6a..3b05184ad 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1190,7 +1190,7 @@ CURLcode add_buffer(send_buffer *in, const void *inptr, size_t size) if(in->buffer) /* we have a buffer, enlarge the existing one */ - new_rb = (char *)realloc(in->buffer, new_size); + new_rb = realloc(in->buffer, new_size); else /* create a new buffer */ new_rb = (char *)malloc(new_size); |