Michael Stefaniuc : shell32: Pass an object instead of an iface to a helper function.
Module: wine Branch: master Commit: a6e4c721a2b58371864865f68030b936bc83a5ca URL: http://source.winehq.org/git/wine.git/?a=commit;h=a6e4c721a2b58371864865f680... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon Oct 10 00:52:43 2011 +0200 shell32: Pass an object instead of an iface to a helper function. --- dlls/shell32/enumidlist.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/dlls/shell32/enumidlist.c b/dlls/shell32/enumidlist.c index 643e039..2eb0ff8 100644 --- a/dlls/shell32/enumidlist.c +++ b/dlls/shell32/enumidlist.c @@ -164,14 +164,8 @@ BOOL CreateFolderEnumList( return succeeded; } -/************************************************************************** -* DeleteList() -*/ -static BOOL DeleteList( - IEnumIDList * iface) +static BOOL DeleteList(IEnumIDListImpl *This) { - IEnumIDListImpl *This = (IEnumIDListImpl *)iface; - LPENUMLIST pDelete; TRACE("(%p)->()\n",This); @@ -263,7 +257,7 @@ static ULONG WINAPI IEnumIDList_fnRelease( if (!refCount) { TRACE(" destroying IEnumIDList(%p)\n",This); - DeleteList((IEnumIDList*)This); + DeleteList(This); HeapFree(GetProcessHeap(),0,This); } return refCount;
participants (1)
-
Alexandre Julliard