From f8e7a249ba618d0d9fa6404822f287d596383e03 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sun, 13 Oct 2024 10:15:08 +0200 Subject: [PATCH] [UCRT] Fix a signed/unsigned comparison --- sdk/lib/ucrt/conio/cputws.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/lib/ucrt/conio/cputws.cpp b/sdk/lib/ucrt/conio/cputws.cpp index a23c110d0e4..2a16e4fac0a 100644 --- a/sdk/lib/ucrt/conio/cputws.cpp +++ b/sdk/lib/ucrt/conio/cputws.cpp @@ -23,7 +23,7 @@ extern "C" int __cdecl _cputws(wchar_t const* string) return -1; // Write string to console file handle: - ptrdiff_t length = wcslen(string); + size_t length = wcslen(string); __acrt_lock(__acrt_conio_lock);