diff options
Diffstat (limited to 'win32/glob.c')
-rw-r--r-- | win32/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/glob.c b/win32/glob.c index fb8e71a21e..45320b9cfa 100644 --- a/win32/glob.c +++ b/win32/glob.c @@ -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); } |