.I had to add the cast ( TEDFONT * ) on the return from hb_xrealloc on lines 167 and 168 of hcedit_w.c:
pted->pFontsScr = ( TEDFONT * ) hb_xrealloc( pted->pFontsScr, sizeof( TEDFONT ) * pted->iFonts );
pted->pFontsPrn = ( TEDFONT * ) hb_xrealloc( pted->pFontsPrn, sizeof( TEDFONT ) * pted->iFonts );
Hello Alex,
cast added, tested MingW/Windows 10 and MintLINUX. Committed r2823 .
Please give feedback to Alexander Kresin, if ticket could be closed.
With regards
Wilfried, DF7BE
Hi
I just tested with r2833, all compilation went smoothly. Please close.
Regards
Alex
Diff: