Changeset 15e9390 for lib/ior-zlib.c


Ignore:
Timestamp:
10/15/09 17:49:42 (11 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
3c26e2a
Parents:
db03808
Message:

Rearrange struct fields to get better packing on 64bit machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/ior-zlib.c

    rc66068d r15e9390  
    1616        z_stream strm;
    1717        Bytef inbuff[1024*1024]; /* bytef is what zlib uses for buffer pointers */
     18        io_t *parent;
    1819        int outoffset;
    19         io_t *parent;
    2020        enum err_t err;
    2121};
     
    5353
    5454
    55 static off_t zlib_read(io_t *io, char *buffer, off_t len)
     55static off_t zlib_read(io_t *io, void *buffer, off_t len)
    5656{
    5757        if (DATA(io)->err == ERR_EOF)
Note: See TracChangeset for help on using the changeset viewer.