fix format specifiers
This commit is contained in:
parent
cbbd57322a
commit
f36149a9ac
@ -49,7 +49,7 @@ long mi_option_get(mi_option_t option) {
|
||||
if (desc->init == UNINIT) {
|
||||
mi_option_init(desc);
|
||||
if (option != mi_option_verbose) {
|
||||
_mi_verbose_message("option '%s': %zd\n", desc->name, desc->value);
|
||||
_mi_verbose_message("option '%s': %ld\n", desc->name, desc->value);
|
||||
}
|
||||
}
|
||||
return desc->value;
|
||||
|
@ -188,7 +188,7 @@ static void mi_stats_print_bins(mi_stat_count_t* all, const mi_stat_count_t* bin
|
||||
if (bins[i].allocated > 0) {
|
||||
found = true;
|
||||
int64_t unit = _mi_bin_size((uint8_t)i);
|
||||
snprintf(buf, 64, "%s %3zd", fmt, i);
|
||||
snprintf(buf, 64, "%s %3zu", fmt, i);
|
||||
mi_stat_add(all, &bins[i], unit);
|
||||
mi_stat_print(&bins[i], buf, unit, out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user