cvs: php-src(PHP_5_3) /ext/imap php_imap.c
| From: | Ilia Alshanetsky | Date: | Mon, 06 Oct 2008 01:18:54 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/imap php_imap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53375@lists.php.net to get a copy of this message | ||
iliaa Mon Oct 6 01:18:54 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/imap php_imap.c
Log:
Fixed a few signedness warnings
http://cvs.php.net/viewvc.cgi/php-src/ext/imap/php_imap.c?r1=1.208.2.7.2.26.2.18&r2=1.208.2.7.2.26.2.19&diff_format=u
Index: php-src/ext/imap/php_imap.c
diff -u php-src/ext/imap/php_imap.c:1.208.2.7.2.26.2.18
php-src/ext/imap/php_imap.c:1.208.2.7.2.26.2.19
--- php-src/ext/imap/php_imap.c:1.208.2.7.2.26.2.18 Mon Aug 4 21:14:28 2008
+++ php-src/ext/imap/php_imap.c Mon Oct 6 01:18:54 2008
@@ -26,7 +26,7 @@
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: php_imap.c,v 1.208.2.7.2.26.2.18 2008/08/04 21:14:28 jani Exp $ */
+/* $Id: php_imap.c,v 1.208.2.7.2.26.2.19 2008/10/06 01:18:54 iliaa Exp $ */
#define IMAP41
@@ -2753,7 +2753,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
@@ -2870,7 +2870,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