user32/tests: Fix some format-overflow warnings.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2020-02-11 19:09:31 +01:00 committed by Alexandre Julliard
parent 5587160c05
commit b636f9cd5e
1 changed files with 1 additions and 1 deletions

View File

@ -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);