From 6176fa469a431650b41a1c5598eb7cdcca5067a7 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Wed, 21 Sep 2011 20:44:03 +0100 Subject: [PATCH] crtdll: Supress sign-extension through integer promotion. --- dlls/crtdll/crtdll_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/crtdll/crtdll_main.c b/dlls/crtdll/crtdll_main.c index a09f6f62d2e..ac5677f5cf8 100644 --- a/dlls/crtdll/crtdll_main.c +++ b/dlls/crtdll/crtdll_main.c @@ -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]; }