Snippets for alpine 2.26 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/alpine/alpine-2.26-r5.log.
-
http.c:1019:26: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1019 | sprintf(length, "%lu", strlen(req->body)); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u -
mix.c:937:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 937 | (time_t) mail_parameters (NIL,GET_SNARFINTERVAL,NIL)))) { | ^ -
mix.c:1341:61: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1341 | sprintf (tmp,"Unexpected short mix message file %.80s %lu < %lu", | ~~^ | | | long unsigned int | %u 1342 | file,size,set->last); | ~~~~ | | | size_t {aka unsigned int} -
mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
mix.c:71:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | #define SCRFMT ":%08lx:%08lx:%08lx:%08lx:%08lx:%c%08lx:%08lx:%08lx:\015\012" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
debugtime.c:59:56: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'suseconds_t' {aka 'long long int'} [-Wformat=] 59 | snprintf(subsecond, sizeof(subsecond), ".%06ld", tp.tv_usec); | ~~~~^ ~~~~~~~~~~ | | | | | suseconds_t {aka long long int} | long int | %06lld