Skip to content

Commit

Permalink
- Fixed ZTS build
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Nov 21, 2010
1 parent abb7038 commit 167e51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/intl/dateformat/dateformat_format.c
Expand Up @@ -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;
Expand Down

0 comments on commit 167e51f

Please sign in to comment.