#include "character.h"
#include "buffer.h"
+#include <verify.h>
+
static Lisp_Object Qzlib_dll;
#ifdef WINDOWSNT
do
{
/* Maximum number of bytes that one 'inflate' call should read and write.
- zlib requires that these values not exceed UINT_MAX.
- Do not make avail_out too large, as that might unduly delay C-g. */
+ Do not make avail_out too large, as that might unduly delay C-g.
+ In any case zlib requires that these values not exceed UINT_MAX. */
ptrdiff_t avail_in = min (iend - pos_byte, UINT_MAX);
- ptrdiff_t avail_out = min (1 << 14, UINT_MAX);
+ enum { avail_out = 1 << 14 };
+ verify (avail_out <= UINT_MAX);
ptrdiff_t decompressed;