64bit incompatible types in memory allocation
This commit is contained in:
parent
8b17a99c33
commit
7e4cef489e
@ -1036,7 +1036,7 @@ type
|
|||||||
private
|
private
|
||||||
FDataString: UTF8String;
|
FDataString: UTF8String;
|
||||||
protected
|
protected
|
||||||
function Realloc(var NewCapacity: Longint): Pointer; override;
|
function Realloc(var NewCapacity: NativeInt): Pointer; override;
|
||||||
public
|
public
|
||||||
constructor Create;
|
constructor Create;
|
||||||
property DataString: UTF8String read FDataString;
|
property DataString: UTF8String read FDataString;
|
||||||
@ -1047,7 +1047,7 @@ type
|
|||||||
private
|
private
|
||||||
FBytes: TBytes;
|
FBytes: TBytes;
|
||||||
protected
|
protected
|
||||||
function Realloc(var NewCapacity: Longint): Pointer; override;
|
function Realloc(var NewCapacity: NativeInt): Pointer; override;
|
||||||
public
|
public
|
||||||
constructor Create;
|
constructor Create;
|
||||||
property Bytes: TBytes read FBytes;
|
property Bytes: TBytes read FBytes;
|
||||||
@ -7817,7 +7817,7 @@ begin
|
|||||||
SetPointer(nil, 0);
|
SetPointer(nil, 0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TJsonUTF8StringStream.Realloc(var NewCapacity: Longint): Pointer;
|
function TJsonUTF8StringStream.Realloc(var NewCapacity: NativeInt): Pointer;
|
||||||
var
|
var
|
||||||
L: Longint;
|
L: Longint;
|
||||||
begin
|
begin
|
||||||
@ -7855,7 +7855,7 @@ begin
|
|||||||
SetPointer(nil, 0);
|
SetPointer(nil, 0);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TJsonBytesStream.Realloc(var NewCapacity: Longint): Pointer;
|
function TJsonBytesStream.Realloc(var NewCapacity: NativeInt): Pointer;
|
||||||
var
|
var
|
||||||
L: Longint;
|
L: Longint;
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user