Skip to content
Snippets Groups Projects
Commit d0ecaaed authored by 20041679's avatar 20041679
Browse files

fixed format length once again

parent af787f90
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ typedef struct { ...@@ -12,7 +12,7 @@ typedef struct {
Person person_read(FILE *f) { Person person_read(FILE *f) {
Person person; Person person;
char format[4 + 1 + 4 + 1 + 3]; char format[4 + 1 + 4 + 1 + 3 + 1];
sprintf( sprintf(
format, "%%%zus %%%zus %%hu", format, "%%%zus %%%zus %%hu",
ARR_LEN(person.first_name), ARR_LEN(person.first_name),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment