https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7523bf84a58f8ff808185…
commit 7523bf84a58f8ff808185ba2110cf7f07055c3a7
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Wed Oct 19 17:40:34 2022 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Wed Oct 19 17:40:40 2022 +0900
[USER32] Fix build; Appendum to 21feb52
CORE-11700
---
win32ss/user/user32/windows/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/win32ss/user/user32/windows/input.c b/win32ss/user/user32/windows/input.c
index af6500dfee5..7c2a3992278 100644
--- a/win32ss/user/user32/windows/input.c
+++ b/win32ss/user/user32/windows/input.c
@@ -382,7 +382,7 @@ VOID APIENTRY CliGetPreloadKeyboardLayouts(PBYTE pbFlags)
for (iNumber = 1; iNumber < 1000; ++iNumber)
{
- RtlIntegerToUnicode(iNumber, 10, sizeof(szValueName), szValueName);
+ StringCchPrintfW(szValueName, _countof(szValueName), L"%u", iNumber);
cbValue = sizeof(szValue);
error = RegQueryValueExW(hKey, szValueName, NULL, &dwType, (LPBYTE)szValue,
&cbValue);