summaryrefslogtreecommitdiff
path: root/packages/fv/src/w32smsg.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fv/src/w32smsg.inc')
-rw-r--r--packages/fv/src/w32smsg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/fv/src/w32smsg.inc b/packages/fv/src/w32smsg.inc
index 8c2fbd1894..877b83f77b 100644
--- a/packages/fv/src/w32smsg.inc
+++ b/packages/fv/src/w32smsg.inc
@@ -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;