mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 11:09:14 +02:00
* change longint cast of pointer to ptrint #32096
git-svn-id: trunk@36642 -
This commit is contained in:
parent
72a35844c5
commit
cb0f89c4a8
@ -145,7 +145,7 @@ begin
|
||||
EnterCriticalSection(ChangeSystemEvents);
|
||||
SystemEvent:=PendingSystemHead^;
|
||||
inc(PendingSystemHead);
|
||||
if longint(PendingSystemHead)=longint(@PendingSystemEvent)+sizeof(PendingSystemEvent) then
|
||||
if ptrint(PendingSystemHead)=ptrint(@PendingSystemEvent)+sizeof(PendingSystemEvent) then
|
||||
PendingSystemHead:=@PendingSystemEvent;
|
||||
dec(PendingSystemEvents);
|
||||
LastSystemEvent:=SystemEvent;
|
||||
|
Loading…
Reference in New Issue
Block a user