Author: tfaber
Date: Tue Sep 27 19:07:21 2011
New Revision: 53874
URL:
http://svn.reactos.org/svn/reactos?rev=53874&view=rev
Log:
[SHELL32_WINETEST]
- Fix MSVC build. This is a (partial) Winesync
Modified:
trunk/rostests/winetests/shell32/recyclebin.c
Modified: trunk/rostests/winetests/shell32/recyclebin.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/shell32/recycle…
==============================================================================
--- trunk/rostests/winetests/shell32/recyclebin.c [iso-8859-1] (original)
+++ trunk/rostests/winetests/shell32/recyclebin.c [iso-8859-1] Tue Sep 27 19:07:21 2011
@@ -55,8 +55,8 @@
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");