forked from premiere/premiere-libtorrent
fix another build warning
This commit is contained in:
parent
5666cdcd07
commit
0b960615b1
|
@ -1886,11 +1886,12 @@ int main(int argc, char* argv[])
|
||||||
"################################"
|
"################################"
|
||||||
"################################"
|
"################################"
|
||||||
"################################";
|
"################################";
|
||||||
|
char const* short_progress_bar = "--------";
|
||||||
snprintf(str, sizeof(str)
|
snprintf(str, sizeof(str)
|
||||||
, "%3d [%3d, %d] %s%s\n"
|
, "%3d [%3d, %d] %s%s\n"
|
||||||
, bucket, i->num_nodes, i->num_replacements
|
, bucket, i->num_nodes, i->num_replacements
|
||||||
, progress_bar + (128 - i->num_nodes)
|
, progress_bar + (128 - i->num_nodes)
|
||||||
, "--------" + (8 - (std::min)(8, i->num_replacements)));
|
, short_progress_bar + (8 - (std::min)(8, i->num_replacements)));
|
||||||
out += str;
|
out += str;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue