2025-09-09 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbbmp/core.c
! pacified BCC warnings
* src/vm/macro.c
* minor modification to test if it can pacify false warning in recent GCC
This commit is contained in:
@@ -745,8 +745,8 @@ char * hb_macroTextSymbol( const char * szString, HB_SIZE nLength, HB_BOOL * pfN
|
||||
{
|
||||
if( szResult == szString )
|
||||
{
|
||||
szResult = ( char * ) hb_xgrab( nLength + 1 );
|
||||
memcpy( szResult, szString, nLength );
|
||||
szResult = ( char * ) memcpy( hb_xgrab( nLength + 1 ),
|
||||
szString, nLength );
|
||||
szResult[ nLength ] = '\0';
|
||||
}
|
||||
szResult[ nLen ] = c - ( 'a' - 'A' );
|
||||
|
||||
Reference in New Issue
Block a user