Remove unnecessary typecast

This commit is contained in:
Yang Tse
2011-06-02 19:42:24 +02:00
parent 9eea43dce2
commit 65a9fa59dc
5 changed files with 8 additions and 8 deletions

View File

@@ -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;