diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-09-20 12:48:27 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-09-20 12:48:27 +0000 |
commit | 9aafc5d1c64cbd7e6fcdfb90b3661f3a77a3b68f (patch) | |
tree | a78115bca47b82d74978f3418d66bc9bc8562d50 /ext/zip/php_zip.c | |
parent | c30edd027f9be0e47b37333ef7c2f072f9343a0a (diff) | |
download | php-git-9aafc5d1c64cbd7e6fcdfb90b3661f3a77a3b68f.tar.gz |
Fixed a compiler warning
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |