shell32/tests: Fix build with MSVC.

This commit is contained in:
Thomas Faber 2011-09-27 12:55:21 +02:00 committed by Alexandre Julliard
parent 4eb69c8d7d
commit a1f5029e06
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ static void test_query_recyclebin(void)
HRESULT hr;
HANDLE file;
SHFILEOPSTRUCTA shfo;
const CHAR *name="test.txt";
CHAR buf[MAX_PATH+strlen(name)+2];
const CHAR name[] = "test.txt";
CHAR buf[MAX_PATH + sizeof(name) + 1];
if(!pSHQueryRecycleBinA)
{
skip("SHQueryRecycleBinA does not exist\n");