Less warnings by usage of proper modifier

This commit is contained in:
Andrey Hristov 2009-05-27 20:04:49 +00:00
parent 0ebb041393
commit 0168fc5dda

View file

@ -308,7 +308,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
} else { \ } else { \
char *ret; \ char *ret; \
/* always used with my_ulonglong -> %llu */ \ /* 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); \ RETURN_STRINGL(ret, l, 0); \
} \ } \
} }
@ -455,7 +455,7 @@ PHP_FUNCTION(mysqli_next_result);
PHP_FUNCTION(mysqli_num_fields); PHP_FUNCTION(mysqli_num_fields);
PHP_FUNCTION(mysqli_num_rows); PHP_FUNCTION(mysqli_num_rows);
PHP_FUNCTION(mysqli_options); PHP_FUNCTION(mysqli_options);
PHP_FUNCTION(mysqli_ping); PHP_FUNCTION(mysqli_ping);
PHP_FUNCTION(mysqli_poll); PHP_FUNCTION(mysqli_poll);
PHP_FUNCTION(mysqli_prepare); PHP_FUNCTION(mysqli_prepare);
PHP_FUNCTION(mysqli_query); PHP_FUNCTION(mysqli_query);