Signed-off-by: Marcus Meissner <marcus(a)jet.franken.de>
---
dlls/user32/tests/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/user32/tests/input.c b/dlls/user32/tests/input.c
index ee39b11fc12..be41078bf29 100644
--- a/dlls/user32/tests/input.c
+++ b/dlls/user32/tests/input.c
@@ -3186,7 +3186,7 @@ static void test_ToAscii(void)
ok(character == '\r', "ToAscii for Return was %i (expected 13)\n", character);
wstr[0] = 0;
- ret = ToUnicode('A', SC_A, state, wstr, sizeof(wstr), 0);
+ ret = ToUnicode('A', SC_A, state, wstr, ARRAY_SIZE(wstr), 0);
ok(ret == 1, "ToUnicode(A) returned %i, expected 1\n", ret);
str[0] = '\0';
--
2.39.2