summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-07-13 15:34:00 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-11 19:44:53 +0200
commit2b68335643d7b48225d4ab15ac116afcbf279505 (patch)
tree27e5162aac67c28d416168aa17a3eea3797eb636
parent7b55e91d0909035e57fa2081a7dfd2bce42dc365 (diff)
downloadsssd-2b68335643d7b48225d4ab15ac116afcbf279505.tar.gz
sssd-2b68335643d7b48225d4ab15ac116afcbf279505.tar.xz
sssd-2b68335643d7b48225d4ab15ac116afcbf279505.zip
Use the same variable type like in struct ldb_message_element
struct ldb_message_element.num_values is unsigned This patch indirectly fixes printf format string warning.
-rw-r--r--src/providers/ldap/sdap_async_groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index a2e5106f0..bec27e0a7 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -1056,7 +1056,7 @@ done:
static int
sdap_process_missing_member_2307bis(struct tevent_req *req,
char *user_dn,
- int num_users)
+ unsigned num_users)
{
struct sdap_process_group_state *grp_state =
tevent_req_data(req, struct sdap_process_group_state);