Silenced a warning on 32 bit about value ISO_ZISOFS_V1_LIMIT too large for int

This commit is contained in:
Thomas Schmitt 2021-03-12 09:37:07 +01:00
parent 9e389186f7
commit 75499bcda9

View File

@ -46,7 +46,9 @@
/* The lowest size of a file which shall not be represented by zisofs v1 */ /* The lowest size of a file which shall not be represented by zisofs v1 */
#define ISO_ZISOFS_V1_LIMIT 4294967296 /* The constant 4294967296 causes protests about int size on 32 bit machines */
#define ISO_ZISOFS_V1_LIMIT ((off_t) (1 << 16) * (off_t) (1 << 16))
/* zisofs2: Test value for small mixed-version ISOs: 1 million /* zisofs2: Test value for small mixed-version ISOs: 1 million
ISO_ZISOFS_V1_LIMIT 1000000 ISO_ZISOFS_V1_LIMIT 1000000