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.) --- vmsify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vmsify.c') diff --git a/vmsify.c b/vmsify.c index b8b86a6..350ce15 100644 --- a/vmsify.c +++ b/vmsify.c @@ -78,8 +78,8 @@ copyto (char **to, char **from, char upto, int as_dir) } else { - if (islower (**from)) - **to = toupper (**from); + if (islower ((unsigned char)**from)) + **to = toupper ((unsigned char)**from); else **to = **from; } -- cgit v1.2.3