Browse Source

* Correctly initialize total_out

git-svn-id: trunk@49424 -
michael 4 years ago
parent
commit
d23feee55e
1 changed files with 1 additions and 0 deletions
  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 }