From: foobar Date: Sat, 20 Sep 2003 03:22:54 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.4RC1~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36e88551eb918afc50db7f2634419d92000ce574;p=php MFH --- diff --git a/win32/glob.c b/win32/glob.c index f9011536ad..a8c2cd83e2 100644 --- a/win32/glob.c +++ b/win32/glob.c @@ -72,7 +72,7 @@ #endif #endif -#include +#include "php.h" #include #include @@ -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); }