summaryrefslogtreecommitdiff
path: root/libc/misc/glob
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/glob')
-rw-r--r--libc/misc/glob/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/glob/glob.c b/libc/misc/glob/glob.c
index e275018d7..55860d9fb 100644
--- a/libc/misc/glob/glob.c
+++ b/libc/misc/glob/glob.c
@@ -275,8 +275,8 @@ collated_compare (a, b)
const __ptr_t a;
const __ptr_t b;
{
- const char *const s1 = *(const char *const * const) a;
- const char *const s2 = *(const char *const * const) b;
+ const char *const s1 = *(const char *const *) a;
+ const char *const s2 = *(const char *const *) b;
if (s1 == s2)
return 0;