From fd784655a2407ef4a0bb66c47291d730c5791a6c Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Fri, 6 Jul 2007 00:13:56 +0000 Subject: Fixed NOTICE message --- ext/imap/php_imap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/imap/php_imap.c') diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index aa3c26182e..3197ada50a 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2377,7 +2377,7 @@ PHP_FUNCTION(imap_utf7_decode) #if PHP_DEBUG /* warn if we computed outlen incorrectly */ if (outp - out != outlen) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%d] != outlen [%d]", outp - out, outlen); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%ld] != outlen [%d]", outp - out, outlen); } #endif @@ -2496,7 +2496,7 @@ PHP_FUNCTION(imap_utf7_encode) #if PHP_DEBUG /* warn if we computed outlen incorrectly */ if (outp - out != outlen) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%d] != outlen [%d]", outp - out, outlen); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%ld] != outlen [%d]", outp - out, outlen); } #endif -- cgit v1.2.1