From 861b647e7b1da564b831a5b07312a30feb7b6c58 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 6 Sep 2008 04:28:43 +0000 Subject: remove unnecessary typecasting of realloc() --- lib/http_chunks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/http_chunks.c') diff --git a/lib/http_chunks.c b/lib/http_chunks.c index ad9783404..45199866f 100644 --- a/lib/http_chunks.c +++ b/lib/http_chunks.c @@ -305,7 +305,7 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn, char *ptr; if(conn->trlMax) { conn->trlMax *= 2; - ptr = (char*)realloc(conn->trailer,conn->trlMax); + ptr = realloc(conn->trailer,conn->trlMax); } else { conn->trlMax=128; -- cgit v1.2.3