LCL: Correctly align fields of TCMHintShow, TCMHintShowPause records on 64-bit platforms. Related to issue issue #40701.

This commit is contained in:
Maxim Ganetsky 2024-01-27 03:05:51 +03:00
parent 9ae59e2b8d
commit 77daff816e

View File

@ -1323,6 +1323,9 @@ type
// application hint stuff // application hint stuff
TCMHintShow = record TCMHintShow = record
Msg: Cardinal; Msg: Cardinal;
{$ifdef cpu64}
UnusedMsg: Cardinal;
{$endif}
Reserved: WPARAM; Reserved: WPARAM;
HintInfo: PHintInfo; HintInfo: PHintInfo;
Result: LRESULT; Result: LRESULT;
@ -1330,7 +1333,10 @@ type
TCMHintShowPause = record TCMHintShowPause = record
Msg: Cardinal; Msg: Cardinal;
WasActive: Integer; {$ifdef cpu64}
UnusedMsg: Cardinal;
{$endif}
WasActive: PtrInt;
Pause: PInteger; Pause: PInteger;
Result: LRESULT; Result: LRESULT;
end; end;