]> granicus.if.org Git - php/commitdiff
- silent warning
authorPierre Joye <pajoye@php.net>
Mon, 13 Sep 2010 10:28:45 +0000 (10:28 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 13 Sep 2010 10:28:45 +0000 (10:28 +0000)
win32/glob.c

index a646285446c2f3458d3140eb445b2896cd20be6d..8220b178e96f381e7b0505a953ab1b58c827530b 100644 (file)
@@ -514,7 +514,7 @@ glob0(pattern, pglob)
        }
        if (!(pglob->gl_flags & GLOB_NOSORT))
                qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
-                       pglob->gl_pathc - oldpathc, sizeof(char *), (const void *) compare);
+                       pglob->gl_pathc - oldpathc, sizeof(char *), compare);
        return(0);
 }