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

@@ -749,8 +749,7 @@ curl_formadd_ccsid(struct curl_httppost * * httppost,
if (nargs >= lformlen) {
lformlen += ALLOC_GRANULE;
tforms = (struct curl_forms *) realloc((char *) lforms,
lformlen * sizeof *lforms);
tforms = realloc(lforms, lformlen * sizeof *lforms);
if (!tforms) {
result = CURL_FORMADD_MEMORY;