2025-01-24 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* contrib/hbwin/olecore.c
    * pacified false MSVC warning. It's very seldom situation that I'm adding
      code to pacify false compiler warnings anyhow in this case it cost in
      practice nothing so I decided to do that.

  * contrib/xhb/hboutdbg.c
  * src/rtl/gtcrs/gtcrs.c
    * NULL pointer casting to pacify warning

  * src/pp/hbpp.c
    % do not created new iLen variable but reuse the one previously declared

  * src/vm/classes.c
    % allocate puiMsgIdx as array of HB_USHORT items instead of HB_SYMCNT.
      This modification only reduces the memory usage and has no effect on
      number of accepted symbols.
    * changed 'HB_SYMCNT uiHashKey' to 'HB_SIZE nHashKey' to avoid explicit
      casting in the code
This commit is contained in:
Przemysław Czerpak
2025-01-24 12:32:32 +01:00
parent 8b21566675
commit bf146ab5ee
6 changed files with 63 additions and 41 deletions

View File

@@ -2163,7 +2163,7 @@ static InOutBase * create_newXterm( void )
( void ) setgid( getgid() );
execlp( "xterm", "xterm", buf, "+sb",
"-fg", "white",
"-bg", "black", "-fn", "fixed", "-T", "HB-XTERM Window", NULL );
"-bg", "black", "-fn", "fixed", "-T", "HB-XTERM Window", ( char * ) NULL );
_exit( EXIT_FAILURE );
}
close( masterfd );