mirror of
https://github.com/curl/curl.git
synced 2026-07-28 20:43:07 +03:00
Remove unnecessary typecast
This commit is contained in:
parent
9eea43dce2
commit
65a9fa59dc
5 changed files with 8 additions and 8 deletions
|
|
@ -71,7 +71,7 @@ static GlobCode glob_set(URLGlob *glob, char *pattern,
|
|||
pat->content.Set.size = 0;
|
||||
pat->content.Set.ptr_s = 0;
|
||||
/* FIXME: Here's a nasty zero size malloc */
|
||||
pat->content.Set.elements = (char**)malloc(0);
|
||||
pat->content.Set.elements = malloc(0);
|
||||
++glob->size;
|
||||
|
||||
while(!done) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue