#define INVALID -1 /* invalid hash _and_ invalid offset */
struct WindowEntry {
- int next, prev; /* array indices within the window */
- int hashval;
+ short next, prev; /* array indices within the window */
+ short hashval;
};
struct HashEntry {
- int first; /* window index of first in chain */
+ short first; /* window index of first in chain */
};
struct Match {
};
typedef struct {
- int code, extrabits, min, max;
+ short code, extrabits;
+ int min, max;
} coderecord;
static const coderecord lencodes[] = {
*/
int zlib_disable_compression(void) {
struct Outbuf *out = (struct Outbuf *)ectx.userdata;
- int n, startbits;
+ int n;
out->comp_disabled = TRUE;
struct zlib_tableentry {
unsigned char nbits;
- int code;
+ short code;
struct zlib_table *nexttable;
};