Changes by: uvman
Update of /cvs/linux-ntfs/ntfsprogs/libntfs
In directory delta357:/tmp/cvs-serv15136/libntfs
Modified Files:
index.c
Log Message:
The periodic 'int is not neccessarily 32bit' fixes.
Index: index.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/libntfs/index.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- index.c 28 Oct 2006 23:40:11 -0000 1.33
+++ index.c 28 Oct 2006 23:45:22 -0000 1.34
@@ -398,7 +398,8 @@ static int ntfs_ia_check(ntfs_index_cont
ntfs_log_error("Corrupt index block : VCN (%lld) of inode %llu "
"has a size (%u) differing from the index "
"specified size (%u)\n", (long long)vcn,
- icx->ni->mft_no, ib_size, icx->block_size);
+ icx->ni->mft_no, (unsigned)ib_size,
+ (unsigned)icx->block_size);
return -1;
}
return 0;
@@ -656,8 +657,8 @@ int ntfs_index_lookup(const void *key, c
icx->block_size = le32_to_cpu(ir->index_block_size);
if (icx->block_size < NTFS_BLOCK_SIZE) {
errno = EINVAL;
- ntfs_log_perror("Index block size (%d) is smaller than the "
- "sector size (%d)", icx->block_size,
+ ntfs_log_perror("Index block size (%u) is smaller than the "
+ "sector size (%d)", (unsigned)icx->block_size,
NTFS_BLOCK_SIZE);
return -1;
}
|