com php-src: better align reduce the struct size by 8 byte on 64 bit: ext/zip/php_zip.h
| From: | Anatol Belski | Date: | Sat, 13 Sep 2014 21:21:51 +0000 |
| Subject: | com php-src: better align reduce the struct size by 8 byte on 64 bit: ext/zip/php_zip.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81550@lists.php.net to get a copy of this message | ||
Commit: 2c66a8c53e63e6254b3a03f02dcece14f3cf6c9b
Author: Anatol Belski <ab@php.net> Sat, 13 Sep 2014 21:19:22 +0200
Parents: 58177c27d60114a0d0ad3c2e8fffb0cc221da6b3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2c66a8c53e63e6254b3a03f02dcece14f3cf6c9b
Log:
better align reduce the struct size by 8 byte on 64 bit
Changed paths:
M ext/zip/php_zip.h
Diff:
diff --git a/ext/zip/php_zip.h b/ext/zip/php_zip.h
index 15c0852..7cf07d4 100644
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@ -76,11 +76,11 @@ typedef struct _ze_zip_read_rsrc {
/* Extends zend object */
typedef struct _ze_zip_object {
struct zip *za;
- int buffers_cnt;
char **buffers;
HashTable *prop_handler;
char *filename;
int filename_len;
+ int buffers_cnt;
zend_object zo;
} ze_zip_object;