1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00

Fixed a few signedness warnings

This commit is contained in:
Ilia Alshanetsky
2008-10-06 01:18:54 +00:00
parent e68106988a
commit 5bb68042b8
+2 -2
View File
@@ -2753,7 +2753,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
@@ -2870,7 +2870,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