2009-05-25 14:44 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)

* harbour/contrib/hbwin/axcore.c
    ! fixed a few C++ compile warinings
This commit is contained in:
Mindaugas Kavaliauskas
2009-05-25 11:43:45 +00:00
parent 28c8f6909c
commit cc8fdee705
2 changed files with 6 additions and 2 deletions

View File

@@ -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.

View File

@@ -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 )