On Mon, Jun 24, 2019 at 12:41 AM Michael Van Canneyt <mich...@freepascal.org>
wrote:

> If you want to get rid of warnings, define it as
> LOGPALETTE = record
>     palVersion : WORD;
>     palNumEntries : WORD;
>     palPalEntry : array[0..(MAXINT div sizeof(PALETTEENTRY)] of
> PALETTEENTRY;
> end;
>

Wouldn't that explicitly make the LOGPALETTE type unavoidably gigantic,
though?
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to