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 /packages/OS400 | |
parent | 70e57dad8856c2b99d947344661ae260c6fff594 (diff) |
remove unnecessary typecasting of realloc()
Diffstat (limited to 'packages/OS400')
-rw-r--r-- | packages/OS400/ccsidcurl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index c44db0e1c..27412afa2 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -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; |