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

@@ -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) {