]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Sat, 20 Sep 2003 03:22:54 +0000 (03:22 +0000)
committerfoobar <sniper@php.net>
Sat, 20 Sep 2003 03:22:54 +0000 (03:22 +0000)
win32/glob.c

index f9011536adce9bb7eb059a92c2a06a9fbbe2bc90..a8c2cd83e2208ddb20efc0188038c3ff0950113c 100644 (file)
@@ -72,7 +72,7 @@
 #endif
 #endif
 
-#include <php.h>
+#include "php.h"
 #include <sys/stat.h>
 
 #include <ctype.h>
@@ -510,7 +510,7 @@ glob0(pattern, pglob)
        }
        if (!(pglob->gl_flags & GLOB_NOSORT))
                qsort(pglob->gl_pathv + pglob->gl_offs + oldpathc,
-                       pglob->gl_pathc - oldpathc, sizeof(char *), compare);
+                       pglob->gl_pathc - oldpathc, sizeof(char *), (const void *) compare);
        return(0);
 }