diff options
| author | Derick Rethans <derick@php.net> | 2008-01-13 18:42:19 +0000 |
|---|---|---|
| committer | Derick Rethans <derick@php.net> | 2008-01-13 18:42:19 +0000 |
| commit | c4fb570ef3180652d03b953d4ac727a225120ccf (patch) | |
| tree | d04727975e9b576a02a6c7b138429d2ecfdd9bed | |
| parent | f94d19ffea5f67e9eb0dfc97429181abede5a8f4 (diff) | |
| download | php-git-c4fb570ef3180652d03b953d4ac727a225120ccf.tar.gz | |
- Fixed TSRM builds.
| -rw-r--r-- | ext/date/php_date.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 57f27bd3f7..9fce43b470 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -1646,7 +1646,7 @@ static zval * date_instantiate(zend_class_entry *pce, zval *object TSRMLS_DC) /* Helper function used to store the latest found warnings and errors while * parsing, from either strtotime or parse_from_format. */ -static void update_errors_warnings(timelib_error_container *last_errors) +static void update_errors_warnings(timelib_error_container *last_errors TSRMLS_DC) { if (DATEG(last_errors)) { timelib_error_container_dtor(DATEG(last_errors)); @@ -1675,7 +1675,7 @@ static void date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int } // update last errors and warnings - update_errors_warnings(err); + update_errors_warnings(err TSRMLS_CC); if (timezone_object) { php_timezone_obj *tzobj; |
