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:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user