com php-src: reduced the struct size by 8 byte on 64 bit: ext/date/lib/timelib_structs.h
| From: | Anatol Belski | Date: | Sat, 13 Sep 2014 10:49:10 +0000 |
| Subject: | com php-src: reduced the struct size by 8 byte on 64 bit: ext/date/lib/timelib_structs.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81542@lists.php.net to get a copy of this message | ||
Commit: 98aeef6facee1c754758b641c6f0fbe4aced4908
Author: Anatol Belski <ab@php.net> Sat, 13 Sep 2014 12:49:10 +0200
Parents: 993d4751260b1e1fbc62dcaeea98fc4988e925b6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=98aeef6facee1c754758b641c6f0fbe4aced4908
Log:
reduced the struct size by 8 byte on 64 bit
Changed paths:
M ext/date/lib/timelib_structs.h
Diff:
diff --git a/ext/date/lib/timelib_structs.h b/ext/date/lib/timelib_structs.h
index e5780f6..d34e33d 100644
--- a/ext/date/lib/timelib_structs.h
+++ b/ext/date/lib/timelib_structs.h
@@ -173,10 +173,10 @@ typedef struct timelib_error_message {
} timelib_error_message;
typedef struct timelib_error_container {
- int warning_count;
+ struct timelib_error_message *error_messages;
struct timelib_error_message *warning_messages;
int error_count;
- struct timelib_error_message *error_messages;
+ int warning_count;
} timelib_error_container;
typedef struct _timelib_tz_lookup_table {