Explorar el Código

* fixed gzopen parameter

peter hace 26 años
padre
commit
cfef21700f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;