summaryrefslogtreecommitdiff
path: root/ext/File/Glob
diff options
context:
space:
mode:
Diffstat (limited to 'ext/File/Glob')
-rw-r--r--ext/File/Glob/bsd_glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/File/Glob/bsd_glob.c b/ext/File/Glob/bsd_glob.c
index 3c3ae40048..a71418cf44 100644
--- a/ext/File/Glob/bsd_glob.c
+++ b/ext/File/Glob/bsd_glob.c
@@ -596,12 +596,12 @@ ci_compare(const void *p, const void *q)
const char *qq = *(const char **)q;
int ci;
while (*pp && *qq) {
- if (tolower(*pp) != tolower(*qq))
+ if (toLOWER(*pp) != toLOWER(*qq))
break;
++pp;
++qq;
}
- ci = tolower(*pp) - tolower(*qq);
+ ci = toLOWER(*pp) - toLOWER(*qq);
if (ci == 0)
return compare(p, q);
return ci;