Browse Source

* dword() typecast to fix delphi compile

peter 20 years ago
parent
commit
71073744e4
1 changed files with 2 additions and 2 deletions
  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;