andrey Wed May 27 20:04:50 2009 UTC
Modified files:
/php-src/ext/mysqli php_mysqli_structs.h
Log:
Less warnings by usage of proper modifier
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/php_mysqli_structs.h?r1=1.21&r2=1.22&diff_format=u
Index: php-src/ext/mysqli/php_mysqli_structs.h
diff -u php-src/ext/mysqli/php_mysqli_structs.h:1.21
php-src/ext/mysqli/php_mysqli_structs.h:1.22
--- php-src/ext/mysqli/php_mysqli_structs.h:1.21 Wed May 27 19:56:47 2009
+++ php-src/ext/mysqli/php_mysqli_structs.h Wed May 27 20:04:49 2009
@@ -15,7 +15,7 @@
| Author: Georg Richter <[email protected]> |
+----------------------------------------------------------------------+
- $Id: php_mysqli_structs.h,v 1.21 2009/05/27 19:56:47 andrey Exp $
+ $Id: php_mysqli_structs.h,v 1.22 2009/05/27 20:04:49 andrey Exp $
*/
#ifndef PHP_MYSQLI_STRUCTS_H
@@ -308,7 +308,7 @@
} else { \
char *ret; \
/* always used with my_ulonglong -> %llu */ \
- int l = spprintf(&ret, 0, "%llu", (__val)); \
+ int l = spprintf(&ret, 0, MYSQLI_LLU_SPEC, (__val)); \
RETURN_STRINGL(ret, l, 0); \
} \
}
@@ -455,7 +455,7 @@
PHP_FUNCTION(mysqli_num_fields);
PHP_FUNCTION(mysqli_num_rows);
PHP_FUNCTION(mysqli_options);
-PHP_FUNCTION(mysqli_ping);
+PHP_FUNCTION(mysqli_ping);
PHP_FUNCTION(mysqli_poll);
PHP_FUNCTION(mysqli_prepare);
PHP_FUNCTION(mysqli_query);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php