When building for 32-bit, the compiler can't figure out that a constant too big to fit in a long isn't trying to unless you explicitly postfix the constant with the type of the varable it's being assigned into.

This commit is contained in:
Rob Landley 2013-12-04 22:58:42 -06:00
parent b0d4872f53
commit 0cae7298ff

View File

@ -38,13 +38,13 @@ static const struct fstype fstypes[] = {
{"f2fs", 0xF2F52010, 4, 1024, 1132, 16, 1110},
{"jfs", 0x3153464a, 4, 32768, 32920, 16, 32904},
{"nilfs", 0x3434, 2, 1030, 1176, 80, 1192},
{"reiserfs", 0x724573496552, 6, 8244, 8276, 16, 8292},
{"reiserfs", 0x724573496552, 6, 65588, 65620, 16, 65536},
{"reiserfs", 0x724573496552ULL, 6, 8244, 8276, 16, 8292},
{"reiserfs", 0x724573496552ULL, 6, 65588, 65620, 16, 65536},
{"romfs", 0x2d6d6f72, 4, 0, 0,0,0},
{"squashfs", 0x73717368, 4, 0, 0,0,0},
{"xiafs", 0x012fd16d, 4, 572, 0,0,0},
{"xfs", 0x42534658, 4, 0, 32, 12, 108},
{"vfat", 0x3233544146, 5, 82, 67+(4<<24), 11, 71}, // fat32
{"vfat", 0x3233544146ULL, 5, 82, 67+(4<<24), 11, 71}, // fat32
{"vfat", 0x31544146, 4, 54, 39+(4<<24), 11, 43} // fat1
};