mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 22:18:53 +00:00
blockchain_blackball: use %zu for size_t
This commit is contained in:
parent
db3db0930e
commit
9bdc9109fb
@ -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 New Issue
Block a user