]> granicus.if.org Git - php/commitdiff
reduce the struct size (under circumstances) on 64 bit
authorAnatol Belski <ab@php.net>
Sat, 13 Sep 2014 18:47:59 +0000 (20:47 +0200)
committerAnatol Belski <ab@php.net>
Sat, 13 Sep 2014 21:21:49 +0000 (23:21 +0200)
ext/zlib/php_zlib.h

index f76e4c2266613ce7e47f5bc628015a8c0ad1cf6e..703d6f516e9f491f66297c1366aec974c9f636ca 100644 (file)
@@ -49,13 +49,13 @@ typedef struct _php_zlib_context {
 
 ZEND_BEGIN_MODULE_GLOBALS(zlib)
        /* variables for transparent gzip encoding */
-       int compression_coding;
        zend_long output_compression;
        zend_long output_compression_level;
        char *output_handler;
        php_zlib_context *ob_gzhandler;
        zend_long output_compression_default;
     zend_bool handler_registered;
+       int compression_coding;
 ZEND_END_MODULE_GLOBALS(zlib);
 
 php_stream *php_stream_gzopen(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC);