mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 22:56:06 +02:00
added explicit typecast to prevent possible range check errors
git-svn-id: trunk@8450 -
This commit is contained in:
parent
83518b8d09
commit
2f8249da7c
@ -2826,7 +2826,7 @@ end;
|
|||||||
|
|
||||||
procedure TQWordPropertyEditor.SetValue(const NewValue: ansistring);
|
procedure TQWordPropertyEditor.SetValue(const NewValue: ansistring);
|
||||||
begin
|
begin
|
||||||
SetInt64Value(StrToQWord(NewValue));
|
SetInt64Value(Int64(StrToQWord(NewValue)));
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ TFloatPropertyEditor }
|
{ TFloatPropertyEditor }
|
||||||
|
Loading…
Reference in New Issue
Block a user