Robert Shearman : ole32: Fix typo in FileMonikerImpl_BindToObject.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 7 08:05:43 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: bff74c1763fd8b2c2257991a392a85f16cd76edb
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=bff74c1763fd8b2c2257991a392a85f16cd76edb

Author: Robert Shearman <rob at codeweavers.com>
Date:   Fri Apr  7 11:20:34 2006 +0100

ole32: Fix typo in FileMonikerImpl_BindToObject.

Fix apparent typo in FileMonikerImpl_BindToObject, where ppf was
incorrectly passed into IClassFactory_CreateInstance instead of &ppf
(found by Coverity).

---

 dlls/ole32/filemoniker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c
index d449436..0f3f1fe 100644
--- a/dlls/ole32/filemoniker.c
+++ b/dlls/ole32/filemoniker.c
@@ -530,7 +530,7 @@ FileMonikerImpl_BindToObject(IMoniker* i
         }
         if (pcf!=NULL){
 
-            IClassFactory_CreateInstance(pcf,NULL,&IID_IPersistFile,(void**)ppf);
+            IClassFactory_CreateInstance(pcf,NULL,&IID_IPersistFile,(void**)&ppf);
 
             res=IPersistFile_Load(ppf,This->filePathName,STGM_READ);
 




More information about the wine-cvs mailing list