mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 21:29:26 +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
|
||||
FOpenMode:=FileMode;
|
||||
FFile:=gzopen (Pchar(FileName),Openstrings[FileMode]);
|
||||
FFile:=gzopen (PChar(FileName),PBytef(Openstrings[FileMode]));
|
||||
If FFile=Nil then
|
||||
Raise ezlibError.CreateFmt (SCouldntOpenFIle,[FileName]);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user