Home  |  Linux  | Mysql  | PHP  | XML
From:Ilia Alshanetsky Date:Sun Oct  5 19:18:54 2008
Subject:cvs: php-src(PHP_5_3) /ext/imap php_imap.c
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
 


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