diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:28:43 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-06 04:28:43 +0000 |
commit | 861b647e7b1da564b831a5b07312a30feb7b6c58 (patch) | |
tree | 0bf8f137e7db222deefccc94fe3a22eecadba7d8 /lib/http_chunks.c | |
parent | 70e57dad8856c2b99d947344661ae260c6fff594 (diff) |
remove unnecessary typecasting of realloc()
Diffstat (limited to 'lib/http_chunks.c')
-rw-r--r-- | lib/http_chunks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |