> -#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1 << 31) > +#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1U << 31) > #define CRAMFS_BLK_FLAG_DIRECT_PTR (1 << 30)
Please use the unsigned constants for all flags, not just one.
> -#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1 << 31) > +#define CRAMFS_BLK_FLAG_UNCOMPRESSED (1U << 31) > #define CRAMFS_BLK_FLAG_DIRECT_PTR (1 << 30)
Please use the unsigned constants for all flags, not just one.