summaryrefslogtreecommitdiff
path: root/sys/isofs/cd9660/cd9660_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isofs/cd9660/cd9660_util.c')
-rw-r--r--sys/isofs/cd9660/cd9660_util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_util.c b/sys/isofs/cd9660/cd9660_util.c
index 6ef8bedc8e7..762bf65d110 100644
--- a/sys/isofs/cd9660/cd9660_util.c
+++ b/sys/isofs/cd9660/cd9660_util.c
@@ -1,4 +1,5 @@
-/* $NetBSD: cd9660_util.c,v 1.8 1994/12/13 22:33:25 mycroft Exp $ */
+/* $OpenBSD: cd9660_util.c,v 1.2 1996/02/29 10:12:24 niklas Exp $ */
+/* $NetBSD: cd9660_util.c,v 1.9 1996/02/09 21:32:06 christos Exp $ */
/*-
* Copyright (c) 1994
@@ -91,7 +92,7 @@ isofncmp(fn, fnlen, isofn, isolen)
for (j = 0; --isolen >= 0; j = j * 10 + *isofn++ - '0');
return i - j;
}
- if (c != *fn) {
+ if (((u_char) c) != *fn) {
if (c >= 'A' && c <= 'Z') {
if (c + ('a' - 'A') != *fn) {
if (*fn >= 'a' && *fn <= 'z')