improve format string

This commit is contained in:
Sascha Schumann 2003-08-29 07:34:47 +00:00
parent dcfb7638bc
commit 5b09f342fe

View File

@ -830,7 +830,7 @@ PHP_FUNCTION(gzencode)
}
if ((level < -1) || (level > 9)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "compression level(%d) must be within -1..9", level);
php_error_docref(NULL TSRMLS_CC, E_WARNING, "compression level(%ld) must be within -1..9", level);
RETURN_FALSE;
}