Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6873/libntfs
Modified Files:
logfile.c
Log Message:
Fix compiler warning.
Index: logfile.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/logfile.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- logfile.c 29 Sep 2005 12:44:42 -0000 1.9
+++ logfile.c 7 Oct 2005 12:47:03 -0000 1.10
@@ -399,7 +399,7 @@ static int ntfs_check_and_load_restart_p
*/
if (le16_to_cpu(rp->restart_area_offset) +
le16_to_cpu(ra->restart_area_length) >
- NTFS_BLOCK_SIZE - sizeof(u16)) {
+ NTFS_BLOCK_SIZE - (int)sizeof(u16)) {
ntfs_error(vi->i_sb, "Multi sector transfer error "
"detected in $LogFile restart page.");
err = EINVAL;
|