Snippets for libstatgrab 0.92.1 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/community/libstatgrab/libstatgrab-0.92.1-r1.log.
-
os_info.c:460:81: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time_t *' {aka 'long long int *'} [-Wformat=] 460 | #define TIME_T_SCANF_FMT (sizeof(int[(((time_t)-1)/2)%4+1]) == sizeof(int[1]) ? "%ld %*d" : "%lu %*d" ) | ^~~~~~~~~ -
saidar.c:396:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 396 | printw("%5lu", stats.user_entries); | ~~~^ ~~~~~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %5u