diff options
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -159,7 +159,8 @@ vms_hash (name) while (*name) { - h = (h << 4) + (isupper (*name) ? tolower (*name) : *name); + unsigned char uc = *name; + h = (h << 4) + (isupper (uc) ? tolower (uc) : uc); name++; g = h & 0xf0000000; if (g) |