2015-02-07 21:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbwin/win_bmp.c
    ! added missing C++ casting
This commit is contained in:
Przemysław Czerpak
2015-02-07 21:02:12 +01:00
parent a10bfbda40
commit ca567dd55f
2 changed files with 5 additions and 1 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2015-02-07 21:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbwin/win_bmp.c
! added missing C++ casting
2015-02-06 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbsocket.c
* added support MAC addreses array returned by hb_socketGetIFaces()

View File

@@ -105,7 +105,7 @@ HB_FUNC( WIN_LOADBITMAPFILE )
[vszakats] */
if( nSize > 2 && nSize <= HB_MAX_BMP_SIZE )
{
char * pBuffer = hb_xgrab( nSize + 1 );
char * pBuffer = ( char * ) hb_xgrab( nSize + 1 );
if( hb_fileReadAt( pFile, pBuffer, nSize, 0 ) != nSize ||
hbwin_bitmapType( pBuffer, nSize ) == HB_WIN_BITMAP_UNKNOWN )