From 1f4e91b62267522c6f62bd78f6c9c077a0eca17a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 27 Feb 2011 15:50:40 +0000 Subject: Set zlib to version 1.2.5 as asked by STR #2508. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8481 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- zlib/compress.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'zlib/compress.c') diff --git a/zlib/compress.c b/zlib/compress.c index df04f0148..ea4dfbe9d 100644 --- a/zlib/compress.c +++ b/zlib/compress.c @@ -1,5 +1,5 @@ /* compress.c -- compress a memory buffer - * Copyright (C) 1995-2003 Jean-loup Gailly. + * Copyright (C) 1995-2005 Jean-loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h */ @@ -75,5 +75,6 @@ int ZEXPORT compress (dest, destLen, source, sourceLen) uLong ZEXPORT compressBound (sourceLen) uLong sourceLen; { - return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + 11; + return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + + (sourceLen >> 25) + 13; } -- cgit v1.2.3