diff options
author | Yang Tse <yangsita@gmail.com> | 2011-06-02 19:42:24 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-06-02 19:42:24 +0200 |
commit | 65a9fa59dcb442a23a8e01cdd1ee86d03f0b6957 (patch) | |
tree | e0a2556202bc5eb245283807cfc89dd9ddd04217 /lib/cookie.c | |
parent | 9eea43dce2442aa63065432738e3ce23046ba05a (diff) | |
download | curl-65a9fa59dcb442a23a8e01cdd1ee86d03f0b6957.tar.gz |
Remove unnecessary typecast
Diffstat (limited to 'lib/cookie.c')
-rw-r--r-- | lib/cookie.c | 2 |
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; |