Browse Source

m68k/ra68kmot.pas: fixed a pointer to signed int cast warning, so it now compiles with warnings on

git-svn-id: trunk@27735 -
Károly Balogh 11 years ago
parent
commit
633eeb79ed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/m68k/ra68kmot.pas

+ 1 - 1
compiler/m68k/ra68kmot.pas

@@ -171,7 +171,7 @@ const
           hs:=s;
           hs:=s;
 
 
         { Search opcodes }
         { Search opcodes }
-        actopcode:=tasmop(PtrInt(iasmops.Find(hs)));
+        actopcode:=tasmop(PtrUInt(iasmops.Find(hs)));
         { Also filter the helper opcodes, they can't be valid
         { Also filter the helper opcodes, they can't be valid
           while reading an assembly source }
           while reading an assembly source }
         if not (actopcode in
         if not (actopcode in