Parcourir la source

* dword() typecast to fix delphi compile

peter il y a 21 ans
Parent
commit
71073744e4
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      tests/webtbs/tw3460.pp

+ 2 - 2
tests/webtbs/tw3460.pp

@@ -13,14 +13,14 @@ type
 function x: Integer;
 asm
   mov edx,0
-  add edx, sizeof(Integer)
+  add edx, dword(sizeof(Integer))
   mov Result, edx
 end;
 
 function SignalHandlerNextParam(param: PGValue): PGValue;
 asm
   mov edx, param
-  add edx, sizeof(TGValue)  
+  add edx, dword(sizeof(TGValue))
   mov Result, edx    
 end;