Reduce differences between master and pbatard branch.

This commit is contained in:
R. Bernstein
2012-03-03 08:26:48 -05:00
parent dde01f420a
commit 730b58a86e
7 changed files with 337 additions and 28 deletions

View File

@@ -117,8 +117,8 @@ main(int argc, const char *argv[])
}
{
long unsigned int i_file_length = udf_get_file_length(p_udf_file);
const unsigned int i_blocks = CEILING(i_file_length, UDF_BLOCKSIZE);
uint64_t i_file_length = udf_get_file_length(p_udf_file);
const unsigned int i_blocks = (unsigned int) CEILING(i_file_length, UDF_BLOCKSIZE);
unsigned int i;
for (i = 0; i < i_blocks ; i++) {
char buf[UDF_BLOCKSIZE] = {'\0',};