diff options
author | Marvin Borner | 2023-05-21 18:55:31 +0200 |
---|---|---|
committer | Marvin Borner | 2023-05-21 20:29:25 +0200 |
commit | 05d9c29717f7ae31dfad9230d469af0fa7f0c761 (patch) | |
tree | a7e6547c4d3fc346e853d455f5c1a288505abc31 /src/main.c | |
parent | 7ebabbb0022bce1cd6c05db583acb20d8659a356 (diff) |
Applied variadic index length technique
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |