Skip to content

Commit fd78465

Browse files
author
Ilia Alshanetsky
committed
Fixed NOTICE message
1 parent 2ea0137 commit fd78465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/imap/php_imap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,7 +2377,7 @@ PHP_FUNCTION(imap_utf7_decode)
23772377
#if PHP_DEBUG
23782378
/* warn if we computed outlen incorrectly */
23792379
if (outp - out != outlen) {
2380-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%d] != outlen [%d]", outp - out, outlen);
2380+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%ld] != outlen [%d]", outp - out, outlen);
23812381
}
23822382
#endif
23832383

@@ -2496,7 +2496,7 @@ PHP_FUNCTION(imap_utf7_encode)
24962496
#if PHP_DEBUG
24972497
/* warn if we computed outlen incorrectly */
24982498
if (outp - out != outlen) {
2499-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%d] != outlen [%d]", outp - out, outlen);
2499+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "outp - out [%ld] != outlen [%d]", outp - out, outlen);
25002500
}
25012501
#endif
25022502

0 commit comments

Comments
 (0)