Skip to content

Commit 148932c

Browse files
committed
ext/zlib: pack php_zlib_filter_data struct
Reduces size from 160 to 152 bytes
1 parent 9a89de1 commit 148932c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/zlib/zlib_filter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ typedef struct _php_zlib_filter_data {
2424
size_t inbuf_len;
2525
unsigned char *outbuf;
2626
size_t outbuf_len;
27-
int persistent;
28-
bool finished; /* for zlib.deflate: signals that no flush is pending */
2927
int windowBits;
28+
bool persistent;
29+
bool finished; /* for zlib.deflate: signals that no flush is pending */
3030
} php_zlib_filter_data;
3131

3232
/* }}} */

0 commit comments

Comments
 (0)