tony2001 Wed Apr 16 08:54:44 2008 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/mysql php_mysql.c Log: change %d to %ld and silence the warning http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.213.2.6.2.24&r2=1.213.2.6.2.25&diff_format=u Index: php-src/ext/mysql/php_mysql.c diff -u php-src/ext/mysql/php_mysql.c:1.213.2.6.2.24 php-src/ext/mysql/php_mysql.c:1.213.2.6.2.25 --- php-src/ext/mysql/php_mysql.c:1.213.2.6.2.24 Sat Mar 8 14:59:37 2008 +++ php-src/ext/mysql/php_mysql.c Wed Apr 16 08:54:44 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_mysql.c,v 1.213.2.6.2.24 2008/03/08 14:59:37 andrey Exp $ */ +/* $Id: php_mysql.c,v 1.213.2.6.2.25 2008/04/16 08:54:44 tony2001 Exp $ */ /* TODO: * @@ -586,7 +586,7 @@ client_flags ^= CLIENT_LOCAL_FILES; } - hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%d", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags); + hashed_details_length = spprintf(&hashed_details, 0, "mysql_%s_%s_%s_%ld", SAFE_STRING(host_and_port), SAFE_STRING(user), SAFE_STRING(passwd), client_flags); } /* We cannot use mysql_port anymore in windows, need to use
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php