Skip to content

Commit 249e078

Browse files
committed
Added missing parenthesis around macro
F/436
1 parent 6b64e84 commit 249e078

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libwolfboot.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ int wolfBoot_initialize_encryption(void)
112112
/* MAGIC (4B) + PART_FLAG (1B) + ENCRYPT_KEY_SIZE + ENCRYPT_NONCE_SIZE */
113113
#else
114114
#define ENCRYPT_TMP_SECRET_OFFSET (WOLFBOOT_PARTITION_SIZE - (TRAILER_SKIP))
115-
#define SECTOR_FLAGS_SIZE WOLFBOOT_SECTOR_SIZE - (4 + 1)
115+
#define SECTOR_FLAGS_SIZE (WOLFBOOT_SECTOR_SIZE - (4 + 1))
116116
/* MAGIC (4B) + PART_FLAG (1B) */
117117
#endif /* EXT_FLASH && EXT_ENCRYPTED */
118118

0 commit comments

Comments
 (0)