Changeset 3a0d65c0 in rtems for cpukit/zlib


Ignore:
Timestamp:
Mar 18, 2011, 10:10:59 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
f1c8de9
Parents:
7367fde
Message:

Import from zlib-1.2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/zlib/compress.c

    r7367fde r3a0d65c0  
    11/* compress.c -- compress a memory buffer
    2  * Copyright (C) 1995-2003 Jean-loup Gailly.
     2 * Copyright (C) 1995-2005 Jean-loup Gailly.
    33 * For conditions of distribution and use, see copyright notice in zlib.h
    44 */
     
    7676    uLong sourceLen;
    7777{
    78     return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + 11;
     78    return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) +
     79           (sourceLen >> 25) + 13;
    7980}
Note: See TracChangeset for help on using the changeset viewer.