From 7317c9fb6980b55c2713a66a2c4059c65ec9d039 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba@gmx.de>
Date: Tue, 27 Sep 2011 12:55:21 +0200
Subject: shell32/tests: Fix build with MSVC

---
 dlls/shell32/tests/recyclebin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/shell32/tests/recyclebin.c b/dlls/shell32/tests/recyclebin.c
index 391e025..d449b7e 100644
--- a/dlls/shell32/tests/recyclebin.c
+++ b/dlls/shell32/tests/recyclebin.c
@@ -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");
-- 
1.7.3.4
