* Fix in line 413 (gzopen call now with typecast in 2nd argument, now it

should compile perfectly again)
This commit is contained in:
sg 2000-01-07 22:44:25 +00:00
parent 510b51be7a
commit f9d9c8aa0a

View File

@ -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;