diff options
Diffstat (limited to 'smbencrypt.c')
-rw-r--r-- | smbencrypt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smbencrypt.c b/smbencrypt.c index 8740481d..144911b3 100644 --- a/smbencrypt.c +++ b/smbencrypt.c @@ -108,8 +108,8 @@ while (*s) s += skip; else { - if (islower(*s)) - *s = toupper(*s); + if (islower((unsigned char)*s)) + *s = toupper((unsigned char)*s); s++; } } |