https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f8e7a249ba618d0d9fa64…
commit f8e7a249ba618d0d9fa6404822f287d596383e03
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Sun Oct 13 10:15:08 2024 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Thu Jan 16 14:18:53 2025 +0200
[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);