From 96dfcac8736d2d4299a1203d5a4f26bc2a15aa10 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Wed, 22 Nov 2023 18:33:06 +0300 Subject: [PATCH] template.c: recalculate file size --- src/template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/template.c b/src/template.c index 1d09b65..3496a89 100644 --- a/src/template.c +++ b/src/template.c @@ -198,8 +198,8 @@ main(int argc, char** argv) const uint32_t buffer_size = PRODUCT, file_length = 4 * 4 /* 4 strings of 4 characters */ + - 4 * 4 /* 4 uint32_t values */ + - 5 * 2 /* 5 uint16_t values */ + + 5 * 4 /* 4 uint32_t values */ + + 4 * 2 /* 5 uint16_t values */ + PRODUCT /* sample data */, fmt_data_length = 16 /* length of format data before this value in the file format structure */,