From 1a9a184145b93614389f227657e63c9e899e4dde Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 18 Jun 2020 15:45:39 -0700 Subject: [PATCH] Check extra rounding using an int64. --- rounding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rounding.c b/rounding.c index bf2ecd31..1bc353a8 100644 --- a/rounding.c +++ b/rounding.c @@ -24,11 +24,11 @@ struct test { union file_extras extras[ARRAY_LEN]; - struct file_struct file; + int64 test; }; #define ACTUAL_SIZE SIZEOF(struct test) -#define EXPECTED_SIZE (SIZEOF(union file_extras) * ARRAY_LEN + SIZEOF(struct file_struct)) +#define EXPECTED_SIZE (SIZEOF(union file_extras) * ARRAY_LEN + SIZEOF(int64)) int main(UNUSED(int argc), UNUSED(char *argv[])) { -- 2.47.2