mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07: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)
|
if (pending_offsets.size() == 1)
|
||||||
fprintf(f, "%" PRIu64 "\n", pending_offsets.front());
|
fprintf(f, "%" PRIu64 "\n", pending_offsets.front());
|
||||||
else
|
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();
|
pending_offsets.clear();
|
||||||
}
|
}
|
||||||
if (pending_amount != amount)
|
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)
|
if (pending_offsets.size() == 1)
|
||||||
fprintf(f, "%" PRIu64 "\n", pending_offsets.front());
|
fprintf(f, "%" PRIu64 "\n", pending_offsets.front());
|
||||||
else
|
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();
|
pending_offsets.clear();
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user