Cast argument to ctype(3) functions to (unsigned char).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18253 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -243,7 +243,7 @@ send_supported_mechs (OM_uint32 *minor_status,
|
||||
|
||||
/* Send the constructed SAM name for this host */
|
||||
for (p = hostname; *p != '\0' && *p != '.'; p++) {
|
||||
*p = toupper(*p);
|
||||
*p = toupper((unsigned char)*p);
|
||||
}
|
||||
*p++ = '$';
|
||||
*p = '\0';
|
||||
|
Reference in New Issue
Block a user