]> granicus.if.org Git - php/commitdiff
fix signature
authorAnatol Belski <ab@php.net>
Wed, 27 Aug 2014 20:01:43 +0000 (22:01 +0200)
committerAnatol Belski <ab@php.net>
Wed, 27 Aug 2014 20:01:43 +0000 (22:01 +0200)
ext/date/php_date.c

index 982c06bfc62901a554d827e6f1c0b7ad48efe7be..2a17ab8d54983534b9f37b65ab203b76f9aee0f3 100644 (file)
@@ -2504,7 +2504,7 @@ static void update_errors_warnings(timelib_error_container *last_errors TSRMLS_D
        DATEG(last_errors) = last_errors;
 } /* }}} */
 
-PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, size_t ctor TSRMLS_DC) /* {{{ */
+PHPAPI int php_date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, size_t time_str_len, char *format, zval *timezone_object, int ctor TSRMLS_DC) /* {{{ */
 {
        timelib_time   *now;
        timelib_tzinfo *tzi = NULL;