Snippets for ngircd 29 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/ngircd/29/1.fc46/data/logs/i686/build.log.
-
conn.c:1048:86: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1048 | "Write buffer space exhausted (connection %d, limit is %lu bytes, %lu bytes new, %lu bytes pending)", | ~~^ | | | long unsigned int | %u 1049 | Idx, writebuf_limit, Len, | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
conn.c:1048:97: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1048 | "Write buffer space exhausted (connection %d, limit is %lu bytes, %lu bytes new, %lu bytes pending)", | ~~^ | | | long unsigned int | %u 1049 | Idx, writebuf_limit, Len, | ~~~ | | | size_t {aka unsigned int} -
conn.c:1216:58: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1216 | LogDebug("Shutdown of connection %d completed, %ld connection%s left.", | ~~^ | | | long int | %d 1217 | Idx, NumConnections, NumConnections != 1 ? "s" : ""); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
conn.c:1670:53: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1670 | LogDebug("Total number of connections now %lu (max %lu).", | ~~^ | | | long unsigned int | %u 1671 | NumConnections, NumConnectionsMax); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
conn.c:1670:62: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 1670 | LogDebug("Total number of connections now %lu (max %lu).", | ~~^ | | | long unsigned int | %u 1671 | NumConnections, NumConnectionsMax); | ~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
conn.c:2286:64: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2286 | LogDebug("Registered new connection %d on socket %d (%ld in total).", | ~~^ | | | long int | %d 2287 | new_sock, My_Connections[new_sock].sock, NumConnections); | ~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
conf.c:2358:46: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2358 | LogDebug("Configuration: Operators=%ld, Servers=%d[%d], Channels=%ld", | ~~^ | | | long int | %d 2359 | array_length(&Conf_Opers, sizeof(struct Conf_Oper)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka unsigned int} -
conf.c:2358:76: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2358 | LogDebug("Configuration: Operators=%ld, Servers=%d[%d], Channels=%ld", | ~~^ | | | long int | %d -
conn-zip.c:110:69: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 110 | Log(LOG_ALERT, "Zip Write buffer space exhausted: %lu bytes", buflen + Len); | ~~^ ~~~~~~~~~~~~ | | | | | size_t {aka unsigned int} | long unsigned int | %u -
lists.c:286:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 286 | excl = strchr(Pattern, '!'); | ^ -
lists.c:287:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 287 | at = strchr(Pattern, '@'); | ^