Commit 6176fa46 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

crtdll: Supress sign-extension through integer promotion.

parent 013991e6
......@@ -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];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment