Snippets for netpbm 11.16.1 from Alpine armv7
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-armv7/community/netpbm/netpbm-11.16.1-r0.log.
-
pmfileio.c:832:40: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 832 | pm_error("Failed to allocate %lu bytes for read buffer", nAlloc); | ~~^ ~~~~~~ | | | | long unsigned int size_t {aka unsigned int} | %u -
pmfileio.c:844:48: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 844 | pm_error("Failed to allocate %lu bytes for read buffer", | ~~^ | | | long unsigned int | %u 845 | nAlloc); | ~~~~~~ | | | size_t {aka unsigned int} -
pmfileio.c:964:54: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 964 | pm_error("Failed to get memory for %lu byte input buffer", | ~~^ | | | long unsigned int | %u 965 | allocatedSz); | ~~~~~~~~~~~ | | | size_t {aka unsigned int} -
pmfileio.c:1000:37: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1000 | pm_error("Failed to write %lu bytes to Standard Output. " | ~~^ | | | long unsigned int | %u 1001 | "%lu bytes successfully written", 1002 | sz, bytesWrittenCt); | ~~ | | | size_t {aka unsigned int} -
pmfileio.c:1000:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 1000 | pm_error("Failed to write %lu bytes to Standard Output. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1001 | "%lu bytes successfully written", 1002 | sz, bytesWrittenCt); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
Runput.c:199:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] 199 | pm_error("Color map size logarithm (%u) " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 200 | "is too large for computation. Maximum is %lu", 201 | hdrP->cmaplen, sizeof(UINT_MAX) * 8 - 2); | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int -
picttoppm.c:3581:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 3581 | pm_error("Too many points in polygon. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
picttoppm.c:3608:30: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=] 3608 | pm_error("Too many points in polygon. " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~