Snippets for openfortivpn 1.24.1 from Alpine x86
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86/testing/openfortivpn/openfortivpn-1.24.1-r0.log.
-
src/http_server.c:115:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 115 | int replyHeaderSize = snprintf(NULL, 0, replyHeader, replyBodySize) + 1; | ^~~~~~~~~~~ ~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
src/http_server.c:124:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 124 | replyHeader, | ^~~~~~~~~~~ 125 | strlen(replyBodyBuffer)); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int}