mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-18 04:22:15 +02:00
util/nvmutil: add assert for int
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -53,6 +53,7 @@ typedef char static_assert_char_is_8_bits[(CHAR_BIT == 8) ? 1 : -1];
|
|||||||
typedef char static_assert_uint8_is_1[(sizeof(uint8_t) == 1) ? 1 : -1];
|
typedef char static_assert_uint8_is_1[(sizeof(uint8_t) == 1) ? 1 : -1];
|
||||||
typedef char static_assert_uint16_is_2[(sizeof(uint16_t) == 2) ? 1 : -1];
|
typedef char static_assert_uint16_is_2[(sizeof(uint16_t) == 2) ? 1 : -1];
|
||||||
typedef char static_assert_uint32_is_4[(sizeof(uint32_t) == 4) ? 1 : -1];
|
typedef char static_assert_uint32_is_4[(sizeof(uint32_t) == 4) ? 1 : -1];
|
||||||
|
typedef char static_assert_int_ge_32[(sizeof(int) >= 4) ? 1 : -1];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We set _FILE_OFFSET_BITS 64, but we only handle
|
* We set _FILE_OFFSET_BITS 64, but we only handle
|
||||||
|
|||||||
Reference in New Issue
Block a user