From 1b2fa65655b6987298d056715f3301a7293665d5 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 25 Mar 2022 22:03:18 -0500 Subject: [PATCH] Bugfix: Invalid '%lu', in formatted print, should instead be '%ul'. --- level_3/fss_embedded_list_read/c/private-read.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/level_3/fss_embedded_list_read/c/private-read.c b/level_3/fss_embedded_list_read/c/private-read.c index a0c4eee..15552db 100644 --- a/level_3/fss_embedded_list_read/c/private-read.c +++ b/level_3/fss_embedded_list_read/c/private-read.c @@ -257,7 +257,7 @@ extern "C" { f_string_dynamic_resize(0, &main->buffer); if (main->parameters.array[fss_embedded_list_read_parameter_total_e].result == f_console_result_found_e) { - fll_print_format("0%r", main->output.to.stream, f_string_eol_s); + fll_print_format("%r%r", main->output.to.stream, f_string_ascii_0_s, f_string_eol_s); return F_none; } @@ -505,7 +505,7 @@ extern "C" { ++total; } // for - fll_print_format("%lu%r", main->output.to.stream, total, f_string_eol_s); + fll_print_format("%ul%r", main->output.to.stream, total, f_string_eol_s); return F_none; } @@ -576,7 +576,7 @@ extern "C" { } // for } // for - fll_print_format("%lu%r", main->output.to.stream, total, f_string_eol_s); + fll_print_format("%ul%r", main->output.to.stream, total, f_string_eol_s); return F_none; } @@ -770,7 +770,7 @@ extern "C" { if (original_delimits[j] >= items->array[i].content.array[k].start && original_delimits[j] <= items->array[i].content.array[k].stop) { - // preserve linear order when adding back delimits. + // Preserve linear order when adding back delimits. if (delimits->used) { for (l = 0; l < delimits->used; ++l) { -- 1.8.3.1