cast argument to tolower to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14498 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -169,7 +169,7 @@ otp_parse_hex (OtpKey key, const char *s)
|
|||||||
if (b - buf >= 16)
|
if (b - buf >= 16)
|
||||||
return -1;
|
return -1;
|
||||||
else
|
else
|
||||||
*b++ = tolower(*s);
|
*b++ = tolower((unsigned char)*s);
|
||||||
}
|
}
|
||||||
s++;
|
s++;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user