]> granicus.if.org Git - php/commitdiff
MFB: Fixed a few signedness warnings
authorIlia Alshanetsky <iliaa@php.net>
Mon, 6 Oct 2008 01:19:07 +0000 (01:19 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 6 Oct 2008 01:19:07 +0000 (01:19 +0000)
ext/imap/php_imap.c

index 732dfd0579d179c23ba62dca71049889f623256e..689cef8a5d23381347f4e4846adc7f0d4101f237 100644 (file)
@@ -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