* preparation for 64-bit amiga support (:-))

git-svn-id: trunk@36643 -
This commit is contained in:
marco 2017-07-04 11:55:48 +00:00
parent cb0f89c4a8
commit 0eaa8c2a57

View File

@ -65,7 +65,7 @@ begin
exit;
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;