aboutsummaryrefslogtreecommitdiffstats
path: root/smbencrypt.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-19 01:44:56 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-19 01:44:56 +0000
commit67d5e1e4ca79d86c8beedc8709efb27f83295443 (patch)
treeb8692dc1d527a427787e86e6e1f02f14a5203630 /smbencrypt.c
parentad03539e8bf64c9e3393f357857c5c751d682abc (diff)
downloadfetchmail-67d5e1e4ca79d86c8beedc8709efb27f83295443.tar.gz
fetchmail-67d5e1e4ca79d86c8beedc8709efb27f83295443.tar.bz2
fetchmail-67d5e1e4ca79d86c8beedc8709efb27f83295443.zip
Cast arguments of is*() ctype.h functions to unsigned char to be 8-bit safe.
svn path=/trunk/; revision=3903
Diffstat (limited to 'smbencrypt.c')
-rw-r--r--smbencrypt.c4
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++;
}
}