21 Oct
2024
21 Oct
'24
1:42 p.m.
From: Jactry Zeng <jzeng(a)codeweavers.com> --- dlls/msvcrt/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msvcrt/string.c b/dlls/msvcrt/string.c index 571ca34b847..90538533d95 100644 --- a/dlls/msvcrt/string.c +++ b/dlls/msvcrt/string.c @@ -3338,7 +3338,7 @@ int __cdecl _strnicmp_l(const char *s1, const char *s2, c2 -= 'A' - 'a'; }while(--count && c1 && c1==c2); - return c1-c2; + return (unsigned char)c1 - (unsigned char)c2; } do { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/6703