Commit 5d6f0de3 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent 5b7dc90e
......@@ -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)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment