From 3e26bde6dbc9a8a46d5a1a694e6810e689cbd25a Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 15 Oct 1999 07:00:58 +0000 Subject: * Fix PR/1394. * Apply changes from Paul Eggert. * Many other cleanups (index/rindex --> strchr/strrchr, etc.) --- vmsfunctions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vmsfunctions.c') 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) -- cgit v1.2.3