com php-src: reduce struct sizes by 8 byte on 64 bit: ext/standard/filters.c
| From: | Anatol Belski | Date: | Sat, 13 Sep 2014 21:21:37 +0000 |
| Subject: | com php-src: reduce struct sizes by 8 byte on 64 bit: ext/standard/filters.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81562@lists.php.net to get a copy of this message | ||
Commit: 5092c5490ade239f68222fef167b254c44262287
Author: Anatol Belski <ab@php.net> Sat, 13 Sep 2014 14:26:59 +0200
Parents: 1f9893d0efc35bbfc11cd310cb8ccf33117e416d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5092c5490ade239f68222fef167b254c44262287
Log:
reduce struct sizes by 8 byte on 64 bit
Changed paths:
M ext/standard/filters.c
Diff:
diff --git a/ext/standard/filters.c b/ext/standard/filters.c
index 9ab9f65..b59c1f3 100644
--- a/ext/standard/filters.c
+++ b/ext/standard/filters.c
@@ -1831,9 +1831,9 @@ static php_stream_filter_factory strfilter_convert_factory = {
/* {{{ consumed filter implementation */
typedef struct _php_consumed_filter_data {
- int persistent;
size_t consumed;
- off_t offset;
+ zend_off_t offset;
+ int persistent;
} php_consumed_filter_data;
static php_stream_filter_status_t consumed_filter_filter(
@@ -1926,8 +1926,8 @@ typedef enum _php_chunked_filter_state {
} php_chunked_filter_state;
typedef struct _php_chunked_filter_data {
- php_chunked_filter_state state;
size_t chunk_size;
+ php_chunked_filter_state state;
int persistent;
} php_chunked_filter_data;