Task #100160 - added.err
back to task #100160download
Error: COMPILER_WARNING:
sssd-2.13.0/src/util/util.h:58: included_from: Included from here.
sssd-2.13.0/src/responder/common/responder_common.c:36: included_from: Included from here.
sssd-2.13.0/src/responder/common/responder_common.c: scope_hint: In function ‘get_client_cred’
sssd-2.13.0/src/responder/common/responder_common.c:123:15: warning[-Wformat=]: format ‘%u’ expects argument of type ‘unsigned int’, but argument 7 has type ‘long unsigned int’
# 123 | "getsockopt returned unexpected message size (%u vs %u).\n",
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 124 | client_cred_len, sizeof(STRUCT_CRED));
# | ~~~~~~~~~~~~~~~~~~~
# | |
# | long unsigned int
sssd-2.13.0/src/util/debug.h:140:18: note: in definition of macro ‘DEBUG’
# 140 | format, ##__VA_ARGS__); \
# | ^~~~~~
sssd-2.13.0/src/responder/common/responder_common.c:123:68: note: format string is defined here
# 123 | "getsockopt returned unexpected message size (%u vs %u).\n",
# | ~^
# | |
# | unsigned int
# | %lu
# 121| if (client_cred_len != sizeof(STRUCT_CRED)) {
# 122| DEBUG(SSSDBG_CRIT_FAILURE,
# 123|-> "getsockopt returned unexpected message size (%u vs %u).\n",
# 124| client_cred_len, sizeof(STRUCT_CRED));
# 125| return ENOMSG;