[pywin32-checkins] /hgroot/pywin32/pywin32: Revert previous change as it causes a c...
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2012-12-17 16:34:26
|
changeset 1d7a40349e7c in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=1d7a40349e7c summary: Revert previous change as it causes a crash elsewhere diffstat: com/win32com/src/include/PythonCOMServer.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 8b73631eeee0 -r 1d7a40349e7c com/win32com/src/include/PythonCOMServer.h --- a/com/win32com/src/include/PythonCOMServer.h Mon Nov 19 14:13:18 2012 -0500 +++ b/com/win32com/src/include/PythonCOMServer.h Mon Dec 17 11:31:28 2012 -0500 @@ -38,7 +38,7 @@ return *ppResult ? S_OK : E_OUTOFMEMORY; } \ protected: \ virtual IID GetIID(void) { return theIID; } \ - virtual void *ThisAsIID(IID iid) {if (this==NULL) return NULL;if (iid==theIID) return (IInterface *)(gatewaybaseclass *)this; else return gatewaybaseclass::ThisAsIID(iid);} \ + virtual void *ThisAsIID(IID iid) {if (this==NULL) return NULL;if (iid==theIID) return (IInterface *)this; else return gatewaybaseclass::ThisAsIID(iid);} \ STDMETHOD_(ULONG,AddRef)(void) {return gatewaybaseclass::AddRef();} \ STDMETHOD_(ULONG,Release)(void) {return gatewaybaseclass::Release();} \ STDMETHOD(QueryInterface)(REFIID iid, void ** obj) {return gatewaybaseclass::QueryInterface(iid, obj);}; |