2016-01-22 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/rddads/ads1.c
  * src/rdd/hbsix/sxcompr.c
  * src/rtl/gtxwc/gtxwc.c
    ! cleaned C++ casting
This commit is contained in:
Przemysław Czerpak
2016-01-22 16:55:41 +01:00
parent ae90545eb1
commit fdd75b00bf
4 changed files with 10 additions and 4 deletions

View File

@@ -10,6 +10,12 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2016-01-22 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/rddads/ads1.c
* src/rdd/hbsix/sxcompr.c
* src/rtl/gtxwc/gtxwc.c
! cleaned C++ casting
2016-01-21 20:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtalleg/gtallegd.c
* contrib/hbamf/amfdec.c

View File

@@ -2634,7 +2634,7 @@ static HB_ERRCODE adsPutValue( ADSAREAP pArea, HB_USHORT uiIndex, PHB_ITEM pItem
if( nLen > ( HB_SIZE ) pField->uiLen )
nLen = pField->uiLen;
u32RetVal = AdsSetStringW( pArea->hTable, ADSFIELD( uiIndex ),
HB_UNCONST( pwBuffer ),
( WCHAR * ) HB_UNCONST( pwBuffer ),
( UNSIGNED32 ) nLen );
hb_strfree( hString );
}
@@ -2762,7 +2762,7 @@ static HB_ERRCODE adsPutValue( ADSAREAP pArea, HB_USHORT uiIndex, PHB_ITEM pItem
const HB_WCHAR * pwBuffer = hb_itemGetStrU16( pItem, HB_CDP_ENDIAN_LITTLE,
&hString, &nLen );
u32RetVal = AdsSetStringW( pArea->hTable, ADSFIELD( uiIndex ),
HB_UNCONST( pwBuffer ),
( WCHAR * ) HB_UNCONST( pwBuffer ),
( UNSIGNED32 ) nLen );
hb_strfree( hString );
}

View File

@@ -216,7 +216,7 @@ static PHB_LZSSX_COMPR hb_LZSSxInit(
nDstBuf = LZSS_IOBUFLEN;
pCompr->pInput = pInput;
pCompr->inBuffer = HB_UNCONST( pSrcBuf );
pCompr->inBuffer = ( HB_BYTE * ) HB_UNCONST( pSrcBuf );
pCompr->inBuffSize = nSrcBuf;
pCompr->inBuffPos = 0;
pCompr->inBuffRead = ( pInput == NULL ) ? nSrcBuf : 0;

View File

@@ -5745,7 +5745,7 @@ static HB_BOOL hb_gt_xwc_Info( PHB_GT pGT, int iType, PHB_GT_INFO pInfo )
}
}
else
pFreeImage = hb_arrayGetPtr( pInfo->pNewVal, 1 );
pFreeImage = ( const char * ) hb_arrayGetPtr( pInfo->pNewVal, 1 );
}
if( pFreeImage != NULL )
xImage = XCreateImage( wnd->dpy, DefaultVisual( wnd->dpy, DefaultScreen( wnd->dpy ) ),