From b0499545ee863c5173c82fe5e3e9b5289db13bf0 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 30 Oct 2014 18:37:56 +0100 Subject: fix datatype mismatches --- ext/date/php_date.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/date/php_date.h') 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); -- cgit v1.2.1