From 454de808a2a56f106c0d211c7da323829f14942d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 5 Jun 2007 10:49:05 +0000 Subject: r23355: Fix some more build warnings. Guenther (This used to be commit 23e25bba8fafb31492b517d63f0a00c5ec07d5da) --- source3/nsswitch/winbindd_ads.c | 4 ++-- source3/nsswitch/winbindd_cache.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/nsswitch') 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; } -- cgit