crtdll: Supress sign-extension through integer promotion.

This commit is contained in:
Andrew Talbot 2011-09-21 20:44:03 +01:00 committed by Alexandre Julliard
parent 013991e6e4
commit 6176fa469a
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}