2014-02-06 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/saverest.c
! fixed missing casting in last commit
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2014-02-06 23:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/saverest.c
|
||||
! fixed missing casting in last commit
|
||||
|
||||
2014-02-06 15:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/rtl/saverest.c
|
||||
! added protection against passing to small screen
|
||||
|
||||
@@ -125,7 +125,7 @@ HB_FUNC( RESTSCREEN )
|
||||
{
|
||||
pBuffer = hb_xgrab( nSize );
|
||||
memcpy( pBuffer, pBufStr, nLen );
|
||||
memset( pBuffer + nLen, 0, nSize - nLen );
|
||||
memset( ( char * ) pBuffer + nLen, 0, nSize - nLen );
|
||||
pBufStr = pBuffer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user