tree-wide: Mark some constants as unsigned
All these are really unsigned and used as such. This silences some -Wformat-signedness warnings with gcc.
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
/* internal helper */
|
||||
#define ANY_LUKS "LUKS"
|
||||
/* as in src/cryptsetup.h */
|
||||
#define CRYPT_SECTOR_SIZE 512
|
||||
#define CRYPT_MAX_SECTOR_SIZE 4096
|
||||
#define CRYPT_SECTOR_SIZE 512U
|
||||
#define CRYPT_MAX_SECTOR_SIZE 4096U
|
||||
|
||||
typedef enum PassphraseType {
|
||||
PASSPHRASE_NONE,
|
||||
|
||||
Reference in New Issue
Block a user