|
@@ -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;
|