diff options
| author | Manolo Gouy <Manolo> | 2011-02-27 15:50:40 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-27 15:50:40 +0000 |
| commit | 1f4e91b62267522c6f62bd78f6c9c077a0eca17a (patch) | |
| tree | d40976004d7020c34c1d32e11187fccd7827cc9c /zlib/compress.c | |
| parent | 5c29bca9d487f5e033a42f7066166907b8f87037 (diff) | |
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
Diffstat (limited to 'zlib/compress.c')
| -rw-r--r-- | zlib/compress.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; } |
