mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-22 12:49:19 +02:00
* Fix compilation in unicode RTL
This commit is contained in:
parent
a3134fcbfd
commit
b6a0988559
@ -754,7 +754,7 @@ end;
|
||||
function TJSONValue.GetValueA(const aIndex: Integer): TJSONValue;
|
||||
|
||||
begin
|
||||
Result:=FindValue(Sysutils.Format('[%s]',[aIndex]));
|
||||
Result:=FindValue({$IFDEF FPC_DOTTEDUNITS}System.{$ENDIF}SysUtils.Format('[%s]',[aIndex]));
|
||||
if Result = nil then
|
||||
raise EJSONException.CreateFmt(SErrIndexNotFound,[aIndex]);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user