cast argument to toupper to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14503 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -583,7 +583,7 @@ mklist(char *buf, char *name)
|
|||||||
if ((c == ' ') || !ISASCII(c))
|
if ((c == ' ') || !ISASCII(c))
|
||||||
n = 1;
|
n = 1;
|
||||||
else if (islower((unsigned char)c))
|
else if (islower((unsigned char)c))
|
||||||
*cp = toupper(c);
|
*cp = toupper((unsigned char)c);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user