2010-04-23 00:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/win_evnt.c
    ! Fixed C++ casting errors.
This commit is contained in:
Viktor Szakats
2010-04-22 22:20:30 +00:00
parent 9e62d217a0
commit 6a2b94a9f6
2 changed files with 8 additions and 4 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-04-23 00:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_evnt.c
! Fixed C++ casting errors.
2010-04-22 19:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/minizip/ioapi.h
! Added darwin-specific workaround to disable 64-bit

View File

@@ -81,8 +81,8 @@ HB_FUNC( WIN_REPORTEVENT )
{
WORD i;
lpStrings = hb_xgrab( sizeof( LPCTSTR ) * wNumStrings );
hStrings = hb_xgrab( sizeof( void * ) * wNumStrings );
lpStrings = ( LPCTSTR * ) hb_xgrab( sizeof( LPCTSTR ) * wNumStrings );
hStrings = ( void ** ) hb_xgrab( sizeof( void * ) * wNumStrings );
for( i = 0; i < wNumStrings; ++i )
lpStrings[ i ] = ( LPCTSTR ) HB_ARRAYGETSTR( pStrings, i + 1, &hStrings[ i ], NULL );
@@ -91,8 +91,8 @@ HB_FUNC( WIN_REPORTEVENT )
{
wNumStrings = 1;
lpStrings = hb_xgrab( sizeof( LPCTSTR ) );
hStrings = hb_xgrab( sizeof( void * ) );
lpStrings = ( LPCTSTR * ) hb_xgrab( sizeof( LPCTSTR ) );
hStrings = ( void ** ) hb_xgrab( sizeof( void * ) );
lpStrings[ 0 ] = ( LPCTSTR ) HB_ITEMGETSTR( hb_param( 6, HB_IT_STRING ), &hStrings[ 0 ], NULL );
}