Robert Shearman : ole32: Fix typo in FileMonikerImpl_BindToObject.
Module: wine Branch: refs/heads/master Commit: bff74c1763fd8b2c2257991a392a85f16cd76edb URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=bff74c1763fd8b2c2257991a... Author: Robert Shearman <rob(a)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);
participants (1)
-
Alexandre Julliard