mirror of https://github.com/oxen-io/oxen-core.git
Fix compiler warning about sign mismatch
This commit is contained in:
parent
cab17962d1
commit
186db9ab07
|
@ -375,7 +375,7 @@ int import_from_file(
|
||||||
int progress_interval = 10;
|
int progress_interval = 10;
|
||||||
// NOTE: use of NUM_BLOCKS_PER_CHUNK is a placeholder in case multi-block chunks are
|
// NOTE: use of NUM_BLOCKS_PER_CHUNK is a placeholder in case multi-block chunks are
|
||||||
// later supported.
|
// later supported.
|
||||||
for (int chunk_ind = 0; chunk_ind < NUM_BLOCKS_PER_CHUNK; ++chunk_ind) {
|
for (size_t chunk_ind = 0; chunk_ind < NUM_BLOCKS_PER_CHUNK; ++chunk_ind) {
|
||||||
++h;
|
++h;
|
||||||
if ((h - 1) % display_interval == 0) {
|
if ((h - 1) % display_interval == 0) {
|
||||||
std::cout << refresh_string;
|
std::cout << refresh_string;
|
||||||
|
|
Loading…
Reference in New Issue