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:
Przemysław Czerpak
2025-09-09 19:55:30 +02:00
parent c184fb933e
commit dbfbc756d7
3 changed files with 21 additions and 14 deletions

View File

@@ -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' );