Commit a1f5029e authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

shell32/tests: Fix build with MSVC.

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