diff options
author | Anatol Belski <ab@php.net> | 2014-10-30 18:37:56 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-30 20:06:51 +0100 |
commit | b0499545ee863c5173c82fe5e3e9b5289db13bf0 (patch) | |
tree | 5fd8428b4c4d67f02cd2831d7db52e0f1bfcfdc4 /ext/date/php_date.h | |
parent | c7fa02948792a302c70e7530ee1058d6d3abefe6 (diff) | |
download | php-git-b0499545ee863c5173c82fe5e3e9b5289db13bf0.tar.gz |
fix datatype mismatches
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r-- | ext/date/php_date.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h index aa46aa1b6c..ebbf9a9027 100644 --- a/ext/date/php_date.h +++ b/ext/date/php_date.h @@ -210,7 +210,7 @@ PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC); #define _php_strftime php_strftime PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gm); #endif -PHPAPI zend_string *php_format_date(char *format, int format_len, time_t ts, int localtime TSRMLS_DC); +PHPAPI zend_string *php_format_date(char *format, size_t format_len, time_t ts, int localtime TSRMLS_DC); /* Mechanism to set new TZ database */ PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb); |