crtdll: Supress sign-extension through integer promotion.
This commit is contained in:
parent
013991e6e4
commit
6176fa469a
|
@ -176,7 +176,7 @@ size_t CDECL _strncnt(const char *str, size_t maxlen)
|
|||
*/
|
||||
unsigned int CDECL _strnextc(const char *str)
|
||||
{
|
||||
return (unsigned int)str[0];
|
||||
return (unsigned char)str[0];
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue