Forráskód Böngészése

* dword() typecast to fix delphi compile

peter 20 éve
szülő
commit
71073744e4
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      tests/webtbs/tw3460.pp

+ 2 - 2
tests/webtbs/tw3460.pp

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