Fix mysqlnd printf modifiers

By moving the the standard macros...
This commit is contained in:
Nikita Popov 2019-06-12 12:42:53 +02:00
parent 4d65d53805
commit e1e275eefd
4 changed files with 6 additions and 6 deletions

View file

@ -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);
}
}