mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix mysqlnd printf modifiers
By moving the the standard macros...
This commit is contained in:
parent
4d65d53805
commit
e1e275eefd
4 changed files with 6 additions and 6 deletions
|
@ -205,7 +205,7 @@ mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING
|
|||
for (i = 0; i < stats->count; i++) {
|
||||
char tmp[25];
|
||||
|
||||
sprintf((char *)&tmp, MYSQLND_LLU_SPEC, stats->values[i]);
|
||||
sprintf((char *)&tmp, "%" PRIu64, stats->values[i]);
|
||||
add_assoc_string_ex(return_value, names[i].s, names[i].l, tmp);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue