mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 00:19:19 +02:00
* correctly handle smaller enums on Big Endian systems
git-svn-id: trunk@43791 -
This commit is contained in:
parent
f59eae4f81
commit
3c4c206081
@ -3948,7 +3948,7 @@ begin
|
||||
tkEnumeration:
|
||||
begin
|
||||
Values.Enum := Integer(GetOrdProp(TObject(Instance), FPropInfo));
|
||||
TValue.Make(@Values.Enum, FPropInfo^.PropType, result);
|
||||
ValueFromInt(Values.Enum);
|
||||
end;
|
||||
tkBool:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user