summaryrefslogtreecommitdiff
path: root/vmsfunctions.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmsfunctions.c')
-rw-r--r--vmsfunctions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vmsfunctions.c b/vmsfunctions.c
index 2bc93bd..8356165 100644
--- a/vmsfunctions.c
+++ b/vmsfunctions.c
@@ -76,8 +76,8 @@ opendir (dspec)
{ \
char *tmp; \
for (tmp = (str); *tmp != '\0'; tmp++) \
- if (islower (*tmp)) \
- *tmp = toupper (*tmp); \
+ if (islower ((unsigned char)*tmp)) \
+ *tmp = toupper ((unsigned char)*tmp); \
} \
while (0)