From 59e378f48fed849e8e41f0bc6a10bf7a1732ae8a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 6 Sep 2008 05:29:05 +0000 Subject: remove unnecessary typecasting of malloc() --- packages/OS400/ccsidcurl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/OS400') 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; -- cgit v1.2.3