* correctly handle smaller enums on Big Endian systems

git-svn-id: trunk@43791 -
This commit is contained in:
svenbarth 2019-12-25 15:23:31 +00:00
parent f59eae4f81
commit 3c4c206081

View File

@ -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