Task #66704 - added.err

back to task #66704
download
Error: COMPILER_WARNING:
sssd-2.12.0/src/util/util.h:59: included_from: Included from here.
sssd-2.12.0/src/db/sysdb.h:25: included_from: Included from here.
sssd-2.12.0/src/db/sysdb_sudo.c:26: included_from: Included from here.
sssd-2.12.0/src/db/sysdb_sudo.c: scope_hint: In function 'sysdb_get_sudo_user_info'
sssd-2.12.0/src/db/sysdb_sudo.c:501:30: warning[-Wformat=]: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'size_t' {aka 'long unsigned int'}
#  501 |     DEBUG(SSSDBG_TRACE_FUNC, "JS-num_groups is [%u]\n", num_groups);
#      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~~~~~
#      |                                                         |
#      |                                                         size_t {aka long unsigned int}
sssd-2.12.0/src/util/debug.h:139:18: note: in definition of macro 'DEBUG'
#  139 |                  format, ##__VA_ARGS__); \
#      |                  ^~~~~~
sssd-2.12.0/src/db/sysdb_sudo.c:501:50: note: format string is defined here
#  501 |     DEBUG(SSSDBG_TRACE_FUNC, "JS-num_groups is [%u]\n", num_groups);
#      |                                                 ~^
#      |                                                  |
#      |                                                  unsigned int
#      |                                                 %lu
#  499|           }
#  500|       }
#  501|->     DEBUG(SSSDBG_TRACE_FUNC, "JS-num_groups is [%u]\n", num_groups);
#  502|   
#  503|       /* resolve primary group */