Skip to content

Commit

Permalink
fix TS build
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev authored and Tyrael committed Feb 18, 2015
1 parent 71335e6 commit a90dc7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/date/php_date.c
Expand Up @@ -3767,7 +3767,7 @@ PHP_METHOD(DateTimeZone, __set_state)
php_date_instantiate(date_ce_timezone, return_value TSRMLS_CC);
tzobj = (php_timezone_obj *) zend_object_store_get_object(return_value TSRMLS_CC);
if(php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht TSRMLS_CC) != SUCCESS) {
php_error_docref(NULL, E_ERROR, "Timezone initialization failed");
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Timezone initialization failed");
}
}
/* }}} */
Expand All @@ -3785,7 +3785,7 @@ PHP_METHOD(DateTimeZone, __wakeup)
myht = Z_OBJPROP_P(object);

if(php_date_timezone_initialize_from_hash(&return_value, &tzobj, myht TSRMLS_CC) != SUCCESS) {
php_error_docref(NULL, E_ERROR, "Timezone initialization failed");
php_error_docref(NULL TSRMLS_CC, E_ERROR, "Timezone initialization failed");
}
}
/* }}} */
Expand Down

0 comments on commit a90dc7c

Please sign in to comment.