diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-06 05:29:05 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-06 05:29:05 +0000 |
commit | 59e378f48fed849e8e41f0bc6a10bf7a1732ae8a (patch) | |
tree | 2443ceace655d5d830c7c4d7c95869c6a0f93c5c /packages/OS400 | |
parent | a622fd90b4c563a4fced20c5b88cb57537e809b0 (diff) |
remove unnecessary typecasting of malloc()
Diffstat (limited to 'packages/OS400')
-rw-r--r-- | packages/OS400/ccsidcurl.c | 2 |
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; |