ref: 1230a94ae89ae83290fc6497a148ccf4abb76e20
parent: b65321743c9cb9e5a9db415d314fce83464aa199
author: idigdoug <idigdoug>
date: Sat Jan 2 08:52:50 EST 2010
Fix warning in win32-glob when compiled with GCC.
--- a/src/win32-glob.c
+++ b/src/win32-glob.c
@@ -51,9 +51,11 @@
static int
entry_comparer(
- const file_entry** pe1,
- const file_entry** pe2)
+ const void* pv1,
+ const void* pv2)
{
+ const file_entry* const * pe1 = pv1;
+ const file_entry* const * pe2 = pv2;
return _stricmp((*pe1)->name, (*pe2)->name);
}