Snippets for miniupnpc 2.3.3 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/miniupnpc/2.3.3/8.fc45/data/logs/i686/build.log.
-
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/src/miniupnpc.c:397:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 397 | p = strchr(base + 7, '/'); | ^ -
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/src/miniwget.c:495:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 495 | p1 = strstr(url, "://"); | ^ -
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/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} -
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/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} -
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/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} -
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/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" | ^~~~~~~~~~~~~~~~~~~~~ -
/builddir/build/BUILD/miniupnpc-2.3.3-build/miniupnpc-2.3.3/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" | ^~~~~~~~~~~~~~~~~~~~~ -
src/miniwget.c:495:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 495 | p1 = strstr(url, "://"); | ^ -
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" | ^~~~~~~~~~~~~~~~~~~~~ -
src/miniupnpc.c:397:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 397 | p = strchr(base + 7, '/'); | ^