Paul Vriens : shell32: Fix length parameter for ZeroMemory (Coccinelle).
Alexandre Julliard
julliard at winehq.org
Fri Jan 8 10:28:57 CST 2010
Module: wine
Branch: master
Commit: cb5e6f378a2465b439aa0acfa1e25e5319f72688
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cb5e6f378a2465b439aa0acfa1e25e5319f72688
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Jan 8 09:23:40 2010 +0100
shell32: Fix length parameter for ZeroMemory (Coccinelle).
---
dlls/shell32/shfldr_fs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shell32/shfldr_fs.c b/dlls/shell32/shfldr_fs.c
index 77a98f3..091c1e0 100644
--- a/dlls/shell32/shfldr_fs.c
+++ b/dlls/shell32/shfldr_fs.c
@@ -1504,7 +1504,7 @@ IFSFldr_PersistFolder3_GetFolderTargetInfo (IPersistFolder3 * iface,
{
IGenericSFImpl *This = impl_from_IPersistFolder3(iface);
FIXME ("(%p)->(%p)\n", This, ppfti);
- ZeroMemory (ppfti, sizeof (ppfti));
+ ZeroMemory (ppfti, sizeof (*ppfti));
return E_NOTIMPL;
}
More information about the wine-cvs
mailing list