patch-2.3.18 linux/fs/udf/super.c

Next file: linux/fs/udf/udfend.h
Previous file: linux/fs/udf/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.17/linux/fs/udf/super.c linux/fs/udf/super.c
@@ -183,7 +183,7 @@
 		int size;
 
 		size = sizeof(struct super_block) +
-			(int)&sb.u - (int)&sb;
+			(long)&sb.u - (long)&sb;
 		if ( size < sizeof(struct udf_sb_info) )
 		{
 			printk(KERN_ERR "udf: Danger! Kernel was compiled without enough room for udf_sb_info\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)