From 3a7bfc1e623aa0e935f788683f75e86465527721 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 28 Oct 2005 07:22:43 +0000 Subject: Import from zlib-1.2.4 --- cpukit/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/zlib/contrib') diff --git a/cpukit/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs b/cpukit/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs index 16997e906b..c1cab3a02c 100644 --- a/cpukit/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs +++ b/cpukit/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs @@ -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) // @@ -25,7 +25,7 @@ namespace DotZLib #endregion public CircularBuffer(int capacity) - { + { Debug.Assert( capacity > 0 ); _buffer = new byte[capacity]; _capacity = capacity; -- cgit v1.2.3