fix warning coming from printing size_t with %u

This commit is contained in:
Denis Vlasenko 2007-02-06 21:52:05 +00:00
parent d46d3c292e
commit d4eda22d0c

View File

@ -537,7 +537,7 @@ static size_t do_check(char *buffer, size_t try, unsigned current_block)
try = ((size_t)got) / BLOCK_SIZE;
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;
}