Mercurial > hg > CbC > CbC_gcc
diff zlib/contrib/dotzlib/DotZLib/Deflater.cs @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | ae3a4bfb450b |
children |
line wrap: on
line diff
--- a/zlib/contrib/dotzlib/DotZLib/Deflater.cs Sun Aug 21 07:07:55 2011 +0900 +++ b/zlib/contrib/dotzlib/DotZLib/Deflater.cs Fri Oct 27 22:46:09 2017 +0900 @@ -1,7 +1,7 @@ // // © Copyright Henrik Ravn 2004 // -// Use, modification and distribution are subject to the Boost Software License, Version 1.0. +// Use, modification and distribution are subject to the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // @@ -56,7 +56,7 @@ if (data == null) throw new ArgumentNullException(); if (offset < 0 || count < 0) throw new ArgumentOutOfRangeException(); if ((offset+count) > data.Length) throw new ArgumentException(); - + int total = count; int inputIndex = offset; int err = 0; @@ -86,7 +86,7 @@ public override void Finish() { int err; - do + do { err = deflate(ref _ztream, (int)FlushTypes.Finish); OnDataAvailable();