aboutsummaryrefslogtreecommitdiff
path: root/packages/OS400
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 04:28:43 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 04:28:43 +0000
commit861b647e7b1da564b831a5b07312a30feb7b6c58 (patch)
tree0bf8f137e7db222deefccc94fe3a22eecadba7d8 /packages/OS400
parent70e57dad8856c2b99d947344661ae260c6fff594 (diff)
remove unnecessary typecasting of realloc()
Diffstat (limited to 'packages/OS400')
-rw-r--r--packages/OS400/ccsidcurl.c3
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;