From: Ilia Alshanetsky Date: Mon, 6 Oct 2008 01:19:07 +0000 (+0000) Subject: MFB: Fixed a few signedness warnings X-Git-Tag: BEFORE_HEAD_NS_CHANGE~280 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23d4a387c2af6761107467a3be7dc9c0ffe51ef1;p=php MFB: Fixed a few signedness warnings --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 732dfd0579..689cef8a5d 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2738,7 +2738,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 @@ -2855,7 +2855,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