mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-07 16:30:35 +02:00
* Make sure it compiles with FPC 3.2.2 for pas2js...
This commit is contained in:
parent
9aeb723747
commit
ce37431a3f
@ -1998,7 +1998,11 @@ Var
|
||||
begin
|
||||
F:=TFileStream.Create(AFileName,fmCreate);
|
||||
Try
|
||||
{$IFDEF VER3_2}
|
||||
F.WriteBuffer(FRawData[0],DataSize);
|
||||
{$ELSE}
|
||||
F.WriteBuffer(FRawData,0,DataSize);
|
||||
{$ENDIF}
|
||||
finally
|
||||
F.Free;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user