com php-src: reduce the struct size by 8 byte on 64 bit: ext/spl/spl_dllist.c
| From: | Anatol Belski | Date: | Wed, 17 Sep 2014 07:10:26 +0000 |
| Subject: | com php-src: reduce the struct size by 8 byte on 64 bit: ext/spl/spl_dllist.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81713@lists.php.net to get a copy of this message | ||
Commit: efc12d468c9be20ac0c24ff69c32613caf91a6ed
Author: Anatol Belski <ab@php.net> Wed, 17 Sep 2014 09:10:26 +0200
Parents: 19f8217113ca5582130a4bc396c6d44278dea96f
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=efc12d468c9be20ac0c24ff69c32613caf91a6ed
Log:
reduce the struct size by 8 byte on 64 bit
Changed paths:
M ext/spl/spl_dllist.c
Diff:
diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c
index e02b9b2..1bd4bf4 100644
--- a/ext/spl/spl_dllist.c
+++ b/ext/spl/spl_dllist.c
@@ -101,8 +101,8 @@ struct _spl_dllist_object {
/* define an overloaded iterator structure */
struct _spl_dllist_it {
zend_user_iterator intern;
- int traverse_position;
spl_ptr_llist_element *traverse_pointer;
+ int traverse_position;
int flags;
};