fix warning coming from printing size_t with %u
This commit is contained in:
parent
d46d3c292e
commit
d4eda22d0c
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ static size_t do_check(char *buffer, size_t try, unsigned current_block)
|
||||||
try = ((size_t)got) / BLOCK_SIZE;
|
try = ((size_t)got) / BLOCK_SIZE;
|
||||||
|
|
||||||
if (got & (BLOCK_SIZE - 1))
|
if (got & (BLOCK_SIZE - 1))
|
||||||
fprintf(stderr, "Short read at block %u\n", current_block + try);
|
fprintf(stderr, "Short read at block %u\n", (unsigned)(current_block + try));
|
||||||
return try;
|
return try;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue