[php-src] master: ext/zlib: pack php_zlib_filter_data struct
| From: | Gina Peter Banyard | Date: | Sun, 06 Sep 2026 13:38:48 +0000 |
| Subject: | [php-src] master: ext/zlib: pack php_zlib_filter_data struct | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141092@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2026-09-06T14:38:34+01:00
Commit: https://github.com/php/php-src/commit/148932c848e38b29cb2cbef2aea76d9c93a9e705
Raw diff: https://github.com/php/php-src/commit/148932c848e38b29cb2cbef2aea76d9c93a9e705.diff
ext/zlib: pack php_zlib_filter_data struct
Reduces size from 160 to 152 bytes
Changed paths:
M ext/zlib/zlib_filter.c
Diff:
diff --git a/ext/zlib/zlib_filter.c b/ext/zlib/zlib_filter.c
index 4e6c1a54c0f9..a597a9b391cc 100644
--- a/ext/zlib/zlib_filter.c
+++ b/ext/zlib/zlib_filter.c
@@ -24,9 +24,9 @@ typedef struct _php_zlib_filter_data {
size_t inbuf_len;
unsigned char *outbuf;
size_t outbuf_len;
- int persistent;
- bool finished; /* for zlib.deflate: signals that no flush is pending */
int windowBits;
+ bool persistent;
+ bool finished; /* for zlib.deflate: signals that no flush is pending */
} php_zlib_filter_data;
/* }}} */