com php-src: reduce the struct size by 8 byte on 64 bit: ext/bz2/bz2_filter.c

From: Date: Fri, 12 Sep 2014 21:27:55 +0000
Subject: com php-src: reduce the struct size by 8 byte on 64 bit: ext/bz2/bz2_filter.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81539@lists.php.net to get a copy of this message
Commit: f8d75839aa3e2042c9d158b092b41b4a9d6b79c8 Author: Anatol Belski <ab@php.net> Fri, 12 Sep 2014 23:27:55 +0200 Parents: bea0face486cf8908eca45ced779d0bfa0b86a75 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f8d75839aa3e2042c9d158b092b41b4a9d6b79c8 Log: reduce the struct size by 8 byte on 64 bit Changed paths: M ext/bz2/bz2_filter.c Diff: diff --git a/ext/bz2/bz2_filter.c b/ext/bz2/bz2_filter.c index b19b46e..dd73b2f 100644 --- a/ext/bz2/bz2_filter.c +++ b/ext/bz2/bz2_filter.c @@ -34,17 +34,17 @@ enum strm_status { }; typedef struct _php_bz2_filter_data { - int persistent; bz_stream strm; char *inbuf; - size_t inbuf_len; char *outbuf; + size_t inbuf_len; size_t outbuf_len; - /* Decompress options */ - enum strm_status status; - unsigned int small_footprint : 1; - unsigned int expect_concatenated : 1; + enum strm_status status; /* Decompress option */ + unsigned int small_footprint : 1; /* Decompress option */ + unsigned int expect_concatenated : 1; /* Decompress option */ + + int persistent; } php_bz2_filter_data; /* }}} */

« previous php.cvs (#81539) next »