mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 09:24:47 +00:00
blockchain_blackball: use %zu for size_t
This commit is contained in:
parent
db3db0930e
commit
9bdc9109fb
1 changed files with 2 additions and 2 deletions
|
@ -972,7 +972,7 @@ static bool export_spent_outputs(MDB_cursor *cur, const std::string &filename)
|
|||
if (pending_offsets.size() == 1)
|
||||
fprintf(f, "%" PRIu64 "\n", pending_offsets.front());
|
||||
else
|
||||
fprintf(f, "%" PRIu64 "*%" PRIu64 "\n", pending_offsets.front(), pending_offsets.size());
|
||||
fprintf(f, "%" PRIu64 "*%zu\n", pending_offsets.front(), pending_offsets.size());
|
||||
pending_offsets.clear();
|
||||
}
|
||||
if (pending_amount != amount)
|
||||
|
@ -987,7 +987,7 @@ static bool export_spent_outputs(MDB_cursor *cur, const std::string &filename)
|
|||
if (pending_offsets.size() == 1)
|
||||
fprintf(f, "%" PRIu64 "\n", pending_offsets.front());
|
||||
else
|
||||
fprintf(f, "%" PRIu64 "*%" PRIu64 "\n", pending_offsets.front(), pending_offsets.size());
|
||||
fprintf(f, "%" PRIu64 "*%zu\n", pending_offsets.front(), pending_offsets.size());
|
||||
pending_offsets.clear();
|
||||
}
|
||||
fclose(f);
|
||||
|
|
Loading…
Reference in a new issue