iliaa Mon Oct 6 01:19:08 2008 UTC
Modified files:
/php-src/ext/imap php_imap.c
Log:
MFB: Fixed a few signedness warnings
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/php_imap.c?r1=1.258&r2=1.259&diff_format=u
Index: php-src/ext/imap/php_imap.c
diff -u php-src/ext/imap/php_imap.c:1.258 php-src/ext/imap/php_imap.c:1.259
--- php-src/ext/imap/php_imap.c:1.258 Mon Aug 4 21:13:33 2008
+++ php-src/ext/imap/php_imap.c Mon Oct 6 01:19:07 2008
@@ -26,7 +26,7 @@
| PHP 4.0 updates: Zeev Suraski <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.258 2008/08/04 21:13:33 jani Exp $ */
+/* $Id: php_imap.c,v 1.259 2008/10/06 01:19:07 iliaa Exp $ */
#define IMAP41
@@ -2738,7 +2738,7 @@
#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 @@
#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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php