mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
Remove unnecessary typecast
This commit is contained in:
parent
9eea43dce2
commit
65a9fa59dc
5 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue