summaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-06-02 19:42:24 +0200
committerYang Tse <yangsita@gmail.com>2011-06-02 19:42:24 +0200
commit65a9fa59dcb442a23a8e01cdd1ee86d03f0b6957 (patch)
treee0a2556202bc5eb245283807cfc89dd9ddd04217 /lib/cookie.c
parent9eea43dce2442aa63065432738e3ce23046ba05a (diff)
downloadcurl-65a9fa59dcb442a23a8e01cdd1ee86d03f0b6957.tar.gz
Remove unnecessary typecast
Diffstat (limited to 'lib/cookie.c')
-rw-r--r--lib/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index 7928be7dc..301beaee7 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -877,7 +877,7 @@ struct Cookie *Curl_cookie_getlist(struct CookieInfo *c,
size_t i;
/* alloc an array and store all cookie pointers */
- array = (struct Cookie **)malloc(sizeof(struct Cookie *) * matches);
+ array = malloc(sizeof(struct Cookie *) * matches);
if(!array)
goto fail;