Snippets for openfortivpn 1.24.2 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/openfortivpn/1.24.2/1.fc46/data/logs/i686/build.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} -
src/tunnel.c:910:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 910 | subj = X509_get_subject_name(cert); | ^ -
src/main.c:696:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 696 | port_str = strchr(host, ':'); | ^