Browse Source

* fixed gzopen parameter

peter 25 years ago
parent
commit
cfef21700f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fcl/inc/zstream.pp

+ 1 - 1
fcl/inc/zstream.pp

@@ -410,7 +410,7 @@ Const OpenStrings : array[TGZOpenMode] of pchar = ('rb','wb');
 
 begin
    FOpenMode:=FileMode;
-   FFile:=gzopen (PChar(FileName),PBytef(Openstrings[FileMode]));
+   FFile:=gzopen (PChar(FileName),Openstrings[FileMode]);
    If FFile=Nil then
      Raise ezlibError.CreateFmt (SCouldntOpenFIle,[FileName]);
 end;