From 9aafc5d1c64cbd7e6fcdfb90b3661f3a77a3b68f Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 20 Sep 2010 12:48:27 +0000 Subject: Fixed a compiler warning --- ext/zip/php_zip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/zip/php_zip.c') diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 293e95f71a..76aa9b7aeb 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -1649,7 +1649,7 @@ static void php_zip_add_from_pattern(INTERNAL_FUNCTION_PARAMETERS, int type) /* if (add_path) { if ((add_path_len + file_stripped_len) > MAXPATHLEN) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Entry name too long (max: %i, %i given)", + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Entry name too long (max: %d, %ld given)", MAXPATHLEN - 1, (add_path_len + file_stripped_len)); zval_dtor(return_value); RETURN_FALSE; -- cgit v1.2.1