From bff74c1763fd8b2c2257991a392a85f16cd76edb Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 7 Apr 2006 11:20:34 +0100 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ole32/filemoniker.c b/dlls/ole32/filemoniker.c index d4494361462..0f3f1fe30e3 100644 --- a/dlls/ole32/filemoniker.c +++ b/dlls/ole32/filemoniker.c @@ -530,7 +530,7 @@ FileMonikerImpl_BindToObject(IMoniker* iface, IBindCtx* pbc, IMoniker* pmkToLeft } 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);