remove unnecessary typecasting of realloc()

This commit is contained in:
Yang Tse
2008-09-06 04:28:43 +00:00
parent 70e57dad88
commit 861b647e7b
11 changed files with 14 additions and 14 deletions

View File

@@ -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;