mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +02:00
* dword() typecast to fix delphi compile
This commit is contained in:
parent
855ccb7ac8
commit
71073744e4
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user