http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eb69c8
)
shell32/tests: Fix build with MSVC.
author
Thomas Faber
<thfabba@gmx.de>
Tue, 27 Sep 2011 10:55:21 +0000
(12:55 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 27 Sep 2011 14:24:26 +0000
(16:24 +0200)
dlls/shell32/tests/recyclebin.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/shell32/tests/recyclebin.c
b/dlls/shell32/tests/recyclebin.c
index 391e0254990fceaa8f9401db5c00c6b588dd18ff..d449b7e4f01af40adfff3525fee998efad121f8d 100644
(file)
--- 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");