added explicit typecast to prevent possible range check errors

git-svn-id: trunk@8450 -
This commit is contained in:
vincents 2006-01-04 23:23:11 +00:00
parent 83518b8d09
commit 2f8249da7c

View File

@ -2826,7 +2826,7 @@ end;
procedure TQWordPropertyEditor.SetValue(const NewValue: ansistring);
begin
SetInt64Value(StrToQWord(NewValue));
SetInt64Value(Int64(StrToQWord(NewValue)));
end;
{ TFloatPropertyEditor }