mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 05:49:20 +02:00
* better implementation of TProcedureParam.GetFlags that correctly handles a TParamFlags with a size > 1 even on big endian
git-svn-id: trunk@35262 -
This commit is contained in:
parent
ccf6504584
commit
bd8a7be17e
@ -2408,7 +2408,7 @@ end;
|
|||||||
|
|
||||||
function TProcedureParam.GetFlags: Byte;
|
function TProcedureParam.GetFlags: Byte;
|
||||||
begin
|
begin
|
||||||
Result := Byte(ParamFlags);
|
Result := PByte(@ParamFlags)^;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TManagedField }
|
{ TManagedField }
|
||||||
|
Loading…
Reference in New Issue
Block a user