Snippets for aide-intrusion-detection 0.19.2 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/aide/0.19.2/17.fc45/data/logs/i686/build.log.
-
src/commandconf.c:70:7: warning: variable ‘i’ set but not used [-Wunused-but-set-variable=] 70 | int i=0; | ^ -
src/db_file.c:372:36: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 372 | m = str_format(str, n, " %lu", xattrs->num); | ~~^ ~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u -
./include/log.h:73:63: warning: format ‘%zi’ expects argument of type ‘signed size_t’, but argument 6 has type ‘__off64_t’ {aka ‘long long int’} [-Wformat=] 73 | #define LOG_WHOAMI(log_level, format, ...) log_msg(log_level, "%*s%s" format, whoami?10:0, whoami?whoami:"", whoami?": ":"", __VA_ARGS__); | ^~~~~~~ -
src/util.c:289:35: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 289 | char *slash = strchr(suffix_path+1, '/'); | ^~~~~~