From b636f9cd5eeabcab418c6e7d66e34a0199f5ce56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Tue, 11 Feb 2020 19:09:31 +0100 Subject: [PATCH] user32/tests: Fix some format-overflow warnings. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RĂ©mi Bernon Signed-off-by: Alexandre Julliard --- dlls/user32/tests/cursoricon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/tests/cursoricon.c b/dlls/user32/tests/cursoricon.c index 6687ebc4a89..7a5f9551615 100644 --- a/dlls/user32/tests/cursoricon.c +++ b/dlls/user32/tests/cursoricon.c @@ -1287,7 +1287,7 @@ static void test_LoadImage_working_directory(void) char executable_path[MAX_PATH]; int pos_slash; char old_PATH[10000]; - char new_PATH[10000]; + char new_PATH[10000 + MAX_PATH]; BOOL ret; GetCurrentDirectoryA(ARRAY_SIZE(old_working_dir), old_working_dir);