shell32/tests: Fix some compiler warnings on sprintf() buffer sizes.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-02-07 19:33:07 +03:00 committed by Alexandre Julliard
parent 5b7dc90efb
commit 5d6f0de3ea
1 changed files with 1 additions and 1 deletions

View File

@ -1782,7 +1782,7 @@ static void test_SHGetFolderPathAndSubDirA(void)
static const char wine[] = "wine";
static const char winetemp[] = "wine\\temp";
static char appdata[MAX_PATH];
static char testpath[MAX_PATH];
static char testpath[2 * MAX_PATH];
static char toolongpath[MAX_PATH+1];
if(FAILED(SHGetFolderPathA(NULL, CSIDL_LOCAL_APPDATA, NULL, SHGFP_TYPE_CURRENT, appdata)))