mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 10:10:39 +02:00
* Fix compilation in unicode RTL
This commit is contained in:
parent
1ec0326995
commit
1f4b8a774f
@ -631,7 +631,7 @@ end;
|
|||||||
function TJSONScanner.GetAbsolutePos: Integer;
|
function TJSONScanner.GetAbsolutePos: Integer;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Result:=FCurPos-PChar(FSource);
|
Result:=FCurPos-PAnsiChar(FSource);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TJSONScanner.SetO(AIndex: TJSONOption; AValue: Boolean);
|
procedure TJSONScanner.SetO(AIndex: TJSONOption; AValue: Boolean);
|
||||||
|
Loading…
Reference in New Issue
Block a user