Browse Source

* Correctly initialize total_out

git-svn-id: trunk@49424 -
(cherry picked from commit d23feee55e406a1b04363e353be06fafcd170cda)
michael 4 years ago
parent
commit
3b608c69fe
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^.crc := crc32(0, nil, 0);
   s^.msg := '';
   s^.msg := '';
   s^.transparent := false;
   s^.transparent := false;
+  s^.total_out:=0;
 
 
   s^.path := path; { limit to 255 chars }
   s^.path := path; { limit to 255 chars }