]> granicus.if.org Git - php/commitdiff
Less warnings by usage of proper modifier
authorAndrey Hristov <andrey@php.net>
Wed, 27 May 2009 20:04:49 +0000 (20:04 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 27 May 2009 20:04:49 +0000 (20:04 +0000)
ext/mysqli/php_mysqli_structs.h

index c42794face63929359e8cf15e31d6ffb7d69e80c..3367010fa76d0001093f3f931e777007e78994db 100644 (file)
@@ -308,7 +308,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry * TSRML
        } 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_next_result);
 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);