=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: dmloader: Fix sizeof statement ( coverity).
Alexandre Julliard
julliard at winehq.org
Mon Nov 5 13:32:23 CST 2012
Module: wine
Branch: master
Commit: 295ffdfa964183afeba40fca75d926d3232b98df
URL: http://source.winehq.org/git/wine.git/?a=commit;h=295ffdfa964183afeba40fca75d926d3232b98df
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Nov 3 17:26:13 2012 +0100
dmloader: Fix sizeof statement (coverity).
---
dlls/dmloader/loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dmloader/loader.c b/dlls/dmloader/loader.c
index f97fad4..cfb3de9 100644
--- a/dlls/dmloader/loader.c
+++ b/dlls/dmloader/loader.c
@@ -767,7 +767,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_ReleaseObjectByU
TRACE("(%p, %p)\n", This, pObject);
- if (IsBadReadPtr (pObject, sizeof(LPUNKNOWN))) {
+ if (IsBadReadPtr (pObject, sizeof(*pObject))) {
ERR(": pObject bad write pointer\n");
return E_POINTER;
}
More information about the wine-cvs
mailing list