mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-25 13:29:38 +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;
|
function TJSONValue.GetValueA(const aIndex: Integer): TJSONValue;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Result:=FindValue(Sysutils.Format('[%s]',[aIndex]));
|
Result:=FindValue({$IFDEF FPC_DOTTEDUNITS}System.{$ENDIF}SysUtils.Format('[%s]',[aIndex]));
|
||||||
if Result = nil then
|
if Result = nil then
|
||||||
raise EJSONException.CreateFmt(SErrIndexNotFound,[aIndex]);
|
raise EJSONException.CreateFmt(SErrIndexNotFound,[aIndex]);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user