Browse Source

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

master
Thomas Schmitt 9 months ago
parent
commit
75499bcda9
  1. 4
      libisofs/filters/zisofs.c

4
libisofs/filters/zisofs.c

@ -46,7 +46,9 @@
/* 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
ISO_ZISOFS_V1_LIMIT 1000000

Loading…
Cancel
Save