mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 20:30:26 +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
|
begin
|
||||||
F:=TFileStream.Create(AFileName,fmCreate);
|
F:=TFileStream.Create(AFileName,fmCreate);
|
||||||
Try
|
Try
|
||||||
|
{$IFDEF VER3_2}
|
||||||
|
F.WriteBuffer(FRawData[0],DataSize);
|
||||||
|
{$ELSE}
|
||||||
F.WriteBuffer(FRawData,0,DataSize);
|
F.WriteBuffer(FRawData,0,DataSize);
|
||||||
|
{$ENDIF}
|
||||||
finally
|
finally
|
||||||
F.Free;
|
F.Free;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user