src/main.c: In function 'vet_age':
src/main.c:414:30: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=]
414 | read = sscanf(src, "%u%ms", &ret, &tmp);
| ~^ ~~~~
| | |
| | int *
| unsigned int *
| %u
src/main.c:414:28: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
414 | read = sscanf(src, "%u%ms", &ret, &tmp);
| ^~~~~~~
src/main.c: In function 'process_line':
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
644 | "%ms %ms %ms %ms %ms %ms %m[^\n]s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
src/main.c:644:25: warning: ISO C does not support the 'm' scanf flag [-Wformat=]
src/main.c:813:78: warning: operand of '?:' changes signedness from 'int' to 'uid_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
813 | if (chown(globs[i], defuid ? -1 : uid,
| ^~
src/main.c:814:82: warning: operand of '?:' changes signedness from 'int' to 'gid_t' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare]
814 | defgid ? -1 : gid))
| ^~
src/main.c:768:41: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
768 | strncpy(ignores[ignores_size].path, globs[i], PATH_MAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Assuming you are interested, you might be in a better position to fix these warnings given your familiarity with the code.