Commit 8a9b5eed authored by David S. Miller's avatar David S. Miller

fs/romfs/inode.c: Kill warning on 64-bit systems.

parent 279c03ce
...@@ -144,7 +144,7 @@ static int romfs_fill_super(struct super_block *s, void *data, int silent) ...@@ -144,7 +144,7 @@ static int romfs_fill_super(struct super_block *s, void *data, int silent)
} }
s->s_magic = ROMFS_MAGIC; s->s_magic = ROMFS_MAGIC;
s->u.generic_sbp = (void *)sz; s->u.generic_sbp = (void *)(long)sz;
s->s_flags |= MS_RDONLY; s->s_flags |= MS_RDONLY;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment