Browse Source

* change longint cast of pointer to ptrint #32096

git-svn-id: trunk@36642 -
marco 8 years ago
parent
commit
cb0f89c4a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fv/src/w32smsg.inc

+ 1 - 1
packages/fv/src/w32smsg.inc

@@ -145,7 +145,7 @@ begin
   EnterCriticalSection(ChangeSystemEvents);
   EnterCriticalSection(ChangeSystemEvents);
   SystemEvent:=PendingSystemHead^;
   SystemEvent:=PendingSystemHead^;
   inc(PendingSystemHead);
   inc(PendingSystemHead);
-  if longint(PendingSystemHead)=longint(@PendingSystemEvent)+sizeof(PendingSystemEvent) then
+  if ptrint(PendingSystemHead)=ptrint(@PendingSystemEvent)+sizeof(PendingSystemEvent) then
    PendingSystemHead:=@PendingSystemEvent;
    PendingSystemHead:=@PendingSystemEvent;
   dec(PendingSystemEvents);
   dec(PendingSystemEvents);
   LastSystemEvent:=SystemEvent;
   LastSystemEvent:=SystemEvent;