com php-src: reduce struct size by 8 byte on 64 bit: ext/zlib/zlib_filter.c
| From: | Anatol Belski | Date: | Wed, 17 Sep 2014 07:17:34 +0000 |
| Subject: | com php-src: reduce struct size by 8 byte on 64 bit: ext/zlib/zlib_filter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81709@lists.php.net to get a copy of this message | ||
Commit: c18902d902db8646c64cedb0813ff96f9597b755
Author: Anatol Belski <ab@php.net> Wed, 17 Sep 2014 09:17:34 +0200
Parents: 42fca623263599100746ce8e02f01b8c52311987
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c18902d902db8646c64cedb0813ff96f9597b755
Log:
reduce struct size by 8 byte on 64 bit
Changed paths:
M ext/zlib/zlib_filter.c
Diff:
diff --git a/ext/zlib/zlib_filter.c b/ext/zlib/zlib_filter.c
index 53bc2e4..29377d8 100644
--- a/ext/zlib/zlib_filter.c
+++ b/ext/zlib/zlib_filter.c
@@ -25,12 +25,12 @@
/* Passed as opaque in malloc callbacks */
typedef struct _php_zlib_filter_data {
- int persistent;
z_stream strm;
char *inbuf;
size_t inbuf_len;
char *outbuf;
size_t outbuf_len;
+ int persistent;
zend_bool finished;
} php_zlib_filter_data;