Snippets for miniupnpc 2.3.3 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/community/miniupnpc/miniupnpc-2.3.3-r2.log.
-
src/minihttptestserver.c:153:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("resp_length=%lu buffer_length=%lu content_length=%lu\n", | ~~^ | | | long unsigned int | %u 154 | *response_len, buffer_length, content_length); | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
src/minihttptestserver.c:153:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("resp_length=%lu buffer_length=%lu content_length=%lu\n", | ~~^ | | | long unsigned int | %u 154 | *response_len, buffer_length, content_length); | ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
src/minihttptestserver.c:153:68: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("resp_length=%lu buffer_length=%lu content_length=%lu\n", | ~~^ | | | long unsigned int | %u 154 | *response_len, buffer_length, content_length); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
src/minihttptestserver.c:440:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 440 | "HTTP/1.1 200 OK\r\n" | ^~~~~~~~~~~~~~~~~~~~~ -
src/minihttptestserver.c:464:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 464 | "HTTP/1.1 200 OK\r\n" | ^~~~~~~~~~~~~~~~~~~~~