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:
Jan Janssen
2022-08-30 12:03:33 +02:00
parent 1dbab956ba
commit 63b9838639
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -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,