diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 4 | ||||
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index d362f3173b..5dd7eafcd1 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -969,7 +969,7 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain, goto done; } - DEBUG(10, ("ads lookup_groupmem: got %d sids via extended dn call\n", num_members)); + DEBUG(10, ("ads lookup_groupmem: got %d sids via extended dn call\n", (int)num_members)); /* Now that we have a list of sids, we need to get the * lists of names and name_types belonging to these sids. @@ -1078,7 +1078,7 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain, else if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("lookup_groupmem: Error looking up %d " "sids via rpc_lsa_lookup_sids: %s\n", - num_members, nt_errstr(status))); + (int)num_members, nt_errstr(status))); goto done; } } diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index eba3497675..d1c34100ca 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -3419,7 +3419,7 @@ int winbindd_validate_cache(void) if (bytes_read != sizeof(v_status)) { DEBUG(10, ("winbindd_validate_cache: read %d bytes from pipe " - "but expected %d", bytes_read, sizeof(v_status))); + "but expected %d", bytes_read, (int)sizeof(v_status))); DEBUGADD(10, (" -> assuming child crashed\n")); v_status.success = False; } |