mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 01:09:13 +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:
|
tkEnumeration:
|
||||||
begin
|
begin
|
||||||
Values.Enum := Integer(GetOrdProp(TObject(Instance), FPropInfo));
|
Values.Enum := Integer(GetOrdProp(TObject(Instance), FPropInfo));
|
||||||
TValue.Make(@Values.Enum, FPropInfo^.PropType, result);
|
ValueFromInt(Values.Enum);
|
||||||
end;
|
end;
|
||||||
tkBool:
|
tkBool:
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user