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 /lib/sendf.c | |
parent | a622fd90b4c563a4fced20c5b88cb57537e809b0 (diff) |
remove unnecessary typecasting of malloc()
Diffstat (limited to 'lib/sendf.c')
-rw-r--r-- | lib/sendf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c index cdab3abdd..568e7b8cd 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -91,7 +91,7 @@ struct curl_slist *curl_slist_append(struct curl_slist *list, struct curl_slist *last; struct curl_slist *new_item; - new_item = (struct curl_slist *) malloc(sizeof(struct curl_slist)); + new_item = malloc(sizeof(struct curl_slist)); if(new_item) { char *dupdata = strdup(data); if(dupdata) { |