com php-src: reduce the struct size by 8 byte on 64 bit: ext/mbstring/mb_gpc.h
| From: | Anatol Belski | Date: | Fri, 19 Sep 2014 23:43:04 +0000 |
| Subject: | com php-src: reduce the struct size by 8 byte on 64 bit: ext/mbstring/mb_gpc.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81794@lists.php.net to get a copy of this message | ||
Commit: 3abeb2c8e1d822019e6ff9aa4c68d48446a721a0
Author: Anatol Belski <ab@php.net> Fri, 19 Sep 2014 22:53:51 +0200
Parents: 0cd982f15c6d1df4672a927d0404caeb8380c193
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3abeb2c8e1d822019e6ff9aa4c68d48446a721a0
Log:
reduce the struct size by 8 byte on 64 bit
Changed paths:
M ext/mbstring/mb_gpc.h
Diff:
diff --git a/ext/mbstring/mb_gpc.h b/ext/mbstring/mb_gpc.h
index dfbb8d3..091d8e2 100644
--- a/ext/mbstring/mb_gpc.h
+++ b/ext/mbstring/mb_gpc.h
@@ -30,14 +30,14 @@
#if HAVE_MBSTRING
/* {{{ typedefs */
typedef struct _php_mb_encoding_handler_info_t {
- int data_type;
const char *separator;
- unsigned int report_errors: 1;
- enum mbfl_no_language to_language;
const mbfl_encoding *to_encoding;
- enum mbfl_no_language from_language;
const mbfl_encoding **from_encodings;
size_t num_from_encodings;
+ int data_type;
+ unsigned int report_errors : 1;
+ enum mbfl_no_language to_language;
+ enum mbfl_no_language from_language;
} php_mb_encoding_handler_info_t;
/* }}}*/