summaryrefslogtreecommitdiff
path: root/vmsify.c
diff options
context:
space:
mode:
Diffstat (limited to 'vmsify.c')
-rw-r--r--vmsify.c4
1 files changed, 2 insertions, 2 deletions
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;
}