aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-06 05:29:05 +0000
committerYang Tse <yangsita@gmail.com>2008-09-06 05:29:05 +0000
commit59e378f48fed849e8e41f0bc6a10bf7a1732ae8a (patch)
tree2443ceace655d5d830c7c4d7c95869c6a0f93c5c /packages
parenta622fd90b4c563a4fced20c5b88cb57537e809b0 (diff)
remove unnecessary typecasting of malloc()
Diffstat (limited to 'packages')
-rw-r--r--packages/OS400/ccsidcurl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c
index 27412afa2..9b91bd8b1 100644
--- a/packages/OS400/ccsidcurl.c
+++ b/packages/OS400/ccsidcurl.c
@@ -727,7 +727,7 @@ curl_formadd_ccsid(struct curl_httppost * * httppost,
/* Allocate the local curl_forms array. */
lformlen = ALLOC_GRANULE;
- lforms = (struct curl_forms *) malloc(lformlen * sizeof * lforms);
+ lforms = malloc(lformlen * sizeof(struct curl_forms));
if (!lforms)
return CURL_FORMADD_MEMORY;