mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 02:59:33 +02:00
* Fix in line 413 (gzopen call now with typecast in 2nd argument, now it
should compile perfectly again)
This commit is contained in:
parent
510b51be7a
commit
f9d9c8aa0a
@ -410,7 +410,7 @@ Const OpenStrings : array[TGZOpenMode] of pchar = ('rb','wb');
|
|||||||
|
|
||||||
begin
|
begin
|
||||||
FOpenMode:=FileMode;
|
FOpenMode:=FileMode;
|
||||||
FFile:=gzopen (Pchar(FileName),Openstrings[FileMode]);
|
FFile:=gzopen (PChar(FileName),PBytef(Openstrings[FileMode]));
|
||||||
If FFile=Nil then
|
If FFile=Nil then
|
||||||
Raise ezlibError.CreateFmt (SCouldntOpenFIle,[FileName]);
|
Raise ezlibError.CreateFmt (SCouldntOpenFIle,[FileName]);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user