mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 16:19:13 +02:00
FpDebug: fix range check error with enum values (negative ord value). Issue #41240
(cherry picked from commit d93235de52
)
This commit is contained in:
parent
9512487328
commit
bcd6d2ced6
@ -3126,7 +3126,7 @@ end;
|
||||
|
||||
function TFpValueDwarfEnumMember.GetAsCardinal: QWord;
|
||||
begin
|
||||
Result := FOwnerVal.OrdinalValue;
|
||||
Result := QWord(FOwnerVal.OrdinalValue);
|
||||
end;
|
||||
|
||||
function TFpValueDwarfEnumMember.GetAsInteger: Int64;
|
||||
|
Loading…
Reference in New Issue
Block a user