Skip to content

Commit 1a9a184

Browse files
committed
Check extra rounding using an int64.
1 parent 4965ccf commit 1a9a184

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rounding.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424

2525
struct test {
2626
union file_extras extras[ARRAY_LEN];
27-
struct file_struct file;
27+
int64 test;
2828
};
2929

3030
#define ACTUAL_SIZE SIZEOF(struct test)
31-
#define EXPECTED_SIZE (SIZEOF(union file_extras) * ARRAY_LEN + SIZEOF(struct file_struct))
31+
#define EXPECTED_SIZE (SIZEOF(union file_extras) * ARRAY_LEN + SIZEOF(int64))
3232

3333
int main(UNUSED(int argc), UNUSED(char *argv[]))
3434
{

0 commit comments

Comments
 (0)