From cc8fdee7050f65def90b70e2183c62fc4da4fe77 Mon Sep 17 00:00:00 2001 From: Mindaugas Kavaliauskas Date: Mon, 25 May 2009 11:43:45 +0000 Subject: [PATCH] 2009-05-25 14:44 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/hbwin/axcore.c ! fixed a few C++ compile warinings --- harbour/ChangeLog | 4 ++++ harbour/contrib/hbwin/axcore.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index bc018089c0..16e3c399da 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to these authors: Viktor Szakats. */ +2009-05-25 14:44 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) + * harbour/contrib/hbwin/axcore.c + ! fixed a few C++ compile warinings + 2009-05-25 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + utils/hbformat/hbformac.c + Added missing file from prev commit. Sorry. diff --git a/harbour/contrib/hbwin/axcore.c b/harbour/contrib/hbwin/axcore.c index 45478d6519..2f119aac6d 100644 --- a/harbour/contrib/hbwin/axcore.c +++ b/harbour/contrib/hbwin/axcore.c @@ -187,7 +187,7 @@ static HB_GARBAGE_FUNC( hb_sink_destructor ) static HRESULT STDMETHODCALLTYPE QueryInterface( IDispatch* lpThis, REFIID riid, void** ppRet ) { - if( IsEqualIID( riid, &IID_IUnknown ) || IsEqualIID( riid, &IID_IDispatch ) ) + if( IsEqualIID( riid, HB_ID_REF( IID_IUnknown ) ) || IsEqualIID( riid, HB_ID_REF( IID_IDispatch ) ) ) { *ppRet = ( void* ) lpThis; ( ( ISink* ) lpThis)->lpVtbl->AddRef( lpThis ); @@ -258,7 +258,7 @@ static HRESULT STDMETHODCALLTYPE Invoke( IDispatch* lpThis, DISPID dispid, REFII HB_SYMBOL_UNUSED( pExcepInfo ); HB_SYMBOL_UNUSED( puArgErr ); - if( ! IsEqualIID( riid, &IID_NULL ) ) + if( ! IsEqualIID( riid, HB_ID_REF( IID_NULL ) ) ) return DISP_E_UNKNOWNINTERFACE; if( ! ( ( ISink* ) lpThis)->pItemHandler )