cast argument to tolower to unsigned char,

from Christian Biere <christianbiere@gmx.de> via NetBSD


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12010 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-04-14 11:55:27 +00:00
parent c12532d685
commit c74a90def6

@@ -587,7 +587,7 @@ hex2n (char c)
static char hexdigits[] = "0123456789abcdef";
const char *p;
p = strchr (hexdigits, tolower((int)c));
p = strchr (hexdigits, tolower((unsigned char)c));
if (p == NULL)
return -1;
else