diff options
author | Felipe Pena <felipe@php.net> | 2010-11-21 17:41:33 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2010-11-21 17:41:33 +0000 |
commit | 167e51f36c3b84aa0a5467110ea0b7c5e3f70928 (patch) | |
tree | bf63f88133687ed57940dee916ddbb43cdaa5af6 /ext/intl/dateformat | |
parent | abb7038cbfe52c781058db2fd07867389002f455 (diff) | |
download | php-git-167e51f36c3b84aa0a5467110ea0b7c5e3f70928.tar.gz |
- Fixed ZTS build
Diffstat (limited to 'ext/intl/dateformat')
-rwxr-xr-x | ext/intl/dateformat/dateformat_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/dateformat/dateformat_format.c b/ext/intl/dateformat/dateformat_format.c index 79a679ed6b..4d03d924c8 100755 --- a/ext/intl/dateformat/dateformat_format.c +++ b/ext/intl/dateformat/dateformat_format.c @@ -170,7 +170,7 @@ PHP_FUNCTION(datefmt_format) INIT_ZVAL(retval); MAKE_STD_ZVAL(zfuncname); ZVAL_STRING(zfuncname, "getTimestamp", 1); - if(call_user_function(NULL, &zarg, zfuncname, &retval, 0, NULL) != SUCCESS || Z_TYPE(retval) != IS_LONG) { + if(call_user_function(NULL, &zarg, zfuncname, &retval, 0, NULL TSRMLS_CC) != SUCCESS || Z_TYPE(retval) != IS_LONG) { intl_errors_set(INTL_DATA_ERROR_P(dfo), U_ILLEGAL_ARGUMENT_ERROR, "datefmt_format: cannot get timestamp", 0 TSRMLS_CC ); zval_ptr_dtor(&zfuncname); RETURN_FALSE; |