You've already forked lazarus-ccr
jvcllaz: Fix crash of JvID3v2 demo on 64bit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6976 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -151,7 +151,7 @@ type
|
||||
function ReadSyncSafeInteger(var AInt: Cardinal; const ASize: Byte): Longint; overload;
|
||||
function ReadSyncSafeInteger(var AInt: Int64; const ASize: Byte = 4): Longint; overload;
|
||||
|
||||
procedure ReadFromStream(AStream: TStream; const ASize: Integer);
|
||||
procedure ReadFromStream(AStream: TStream; const ASize: PtrInt);
|
||||
|
||||
{ Write }
|
||||
function WriteDate(const ADate: TDateTime): Longint;
|
||||
@ -7715,7 +7715,7 @@ begin
|
||||
end;
|
||||
|
||||
procedure TJvID3Stream.ReadFromStream(AStream: TStream;
|
||||
const ASize: Integer);
|
||||
const ASize: PtrInt);
|
||||
begin
|
||||
Position := 0;
|
||||
SetSize(ASize);
|
||||
|
Reference in New Issue
Block a user