com php-src: revert an accident: ext/date/php_date.c
| From: | Anatol Belski | Date: | Wed, 27 Aug 2014 18:49:32 +0000 |
| Subject: | com php-src: revert an accident: ext/date/php_date.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81212@lists.php.net to get a copy of this message | ||
Commit: 5882446b8b72010e6240e3fa11001a7546d802a6
Author: Anatol Belski <ab@php.net> Wed, 27 Aug 2014 15:37:14 +0200
Parents: 3234480827b27ff5d3469a732167afd289632a96
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5882446b8b72010e6240e3fa11001a7546d802a6
Log:
revert an accident
Changed paths:
M ext/date/php_date.c
Diff:
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 0e43a33..1631078 100644
--- a/ext/date/php_date..c
+++ b/ext/date/php_date.c
@@ -1055,7 +1055,7 @@ char *php_date_short_day_name(timelib_sll y, timelib_sll m, timelib_sll d)
/* }}} */
/* {{{ date_format - (gm)date helper */
-static zend_string *date_format(char *format, size_t format_len, timelib_time *t, size_t localtime
TSRMLS_DC)
+static zend_string *date_format(char *format, size_t format_len, timelib_time *t, int localtime
TSRMLS_DC)
{
smart_str string = {0};
int i, length = 0;