Remove static_assert of sizeof basic sized int types

This commit is contained in:
Behdad Esfahbod 2020-06-29 01:15:36 -07:00
parent e1706ffecd
commit c2dbd6cc0f
1 changed files with 0 additions and 8 deletions

View File

@ -442,14 +442,6 @@ static int HB_UNUSED _hb_errno = 0;
#define HB_STMT_END while (0)
/* Lets assert int types. Saves trouble down the road. */
static_assert ((sizeof (int8_t) == 1), "");
static_assert ((sizeof (uint8_t) == 1), "");
static_assert ((sizeof (int16_t) == 2), "");
static_assert ((sizeof (uint16_t) == 2), "");
static_assert ((sizeof (int32_t) == 4), "");
static_assert ((sizeof (uint32_t) == 4), "");
static_assert ((sizeof (int64_t) == 8), "");
static_assert ((sizeof (uint64_t) == 8), "");
static_assert ((sizeof (hb_codepoint_t) == 4), "");
static_assert ((sizeof (hb_position_t) == 4), "");
static_assert ((sizeof (hb_mask_t) == 4), "");