From 7d377c3e984c949d752b81f84773653a2931d7f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sat, 8 Jan 2005 23:05:07 +0000 Subject: [PATCH] cast argument to tolower to unsigned char git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14498 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/otp/otp_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/otp/otp_parse.c b/lib/otp/otp_parse.c index 6f4af9fd4..37bb806ea 100644 --- a/lib/otp/otp_parse.c +++ b/lib/otp/otp_parse.c @@ -169,7 +169,7 @@ otp_parse_hex (OtpKey key, const char *s) if (b - buf >= 16) return -1; else - *b++ = tolower(*s); + *b++ = tolower((unsigned char)*s); } s++; }