From 05d9c29717f7ae31dfad9230d469af0fa7f0c761 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 21 May 2023 18:55:31 +0200 Subject: Applied variadic index length technique --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 1d0a36f..785a70d 100644 --- a/src/main.c +++ b/src/main.c @@ -107,7 +107,7 @@ static void test(char *input) char *input_2 = read_file(temp_blc); struct term *parsed_2 = parse_blc(input_2); fseek(temp_blc, 0, SEEK_END); - fprintf(stderr, "size blc: ~%lu\n", ftell(temp_blc) / 8); + fprintf(stderr, "size blc: %lu\n", ftell(temp_blc) / 8 + 1); fclose(temp_blc); free(input_2); debug("parsed reconstructed blc\n"); -- cgit v1.2.3