From d0ecaaed77a07858c4beb760393feadcb3d01005 Mon Sep 17 00:00:00 2001 From: 20041679 <-> Date: Fri, 23 Jun 2023 20:44:20 +0200 Subject: [PATCH] fixed format length once again --- 20230413/4/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/20230413/4/main.c b/20230413/4/main.c index 4d527cf..f5878da 100644 --- a/20230413/4/main.c +++ b/20230413/4/main.c @@ -12,7 +12,7 @@ typedef struct { Person person_read(FILE *f) { Person person; - char format[4 + 1 + 4 + 1 + 3]; + char format[4 + 1 + 4 + 1 + 3 + 1]; sprintf( format, "%%%zus %%%zus %%hu", ARR_LEN(person.first_name), -- GitLab