From: Wayne Davison Date: Thu, 18 Jun 2020 22:45:39 +0000 (-0700) Subject: Check extra rounding using an int64. X-Git-Tag: v3.2.0~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1a9a184145b93614389f227657e63c9e899e4dde;p=thirdparty%2Frsync.git Check extra rounding using an int64. --- 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[])) {