Home  |  Linux  | Mysql  | PHP  | XML
From:Ilia Alshanetsky Date:Sun Oct  5 19:19:08 2008
Subject:cvs: php-src /ext/imap php_imap.c
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 <zeev@zend.com>                       |
    +----------------------------------------------------------------------+
  */
-/* $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
 


Navigate in group php.cvs at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants