Explorar el Código

* Correctly initialize total_out

git-svn-id: trunk@49424 -
michael hace 4 años
padre
commit
d23feee55e
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/paszlib/src/gzio.pas

+ 1 - 0
packages/paszlib/src/gzio.pas

@@ -165,6 +165,7 @@ begin
   s^.crc := crc32(0, nil, 0);
   s^.msg := '';
   s^.transparent := false;
+  s^.total_out:=0;
 
   s^.path := path; { limit to 255 chars }