diff options
author | Günther Deschner <gd@samba.org> | 2007-06-05 10:49:05 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:09 -0500 |
commit | 454de808a2a56f106c0d211c7da323829f14942d (patch) | |
tree | c6bd81875a69b2aaec9f88921cba12e4e4b5c4a3 /source3/nsswitch | |
parent | 3e3e359d1222935c5067c1c23c4286ce8099581b (diff) | |
download | samba-454de808a2a56f106c0d211c7da323829f14942d.tar.gz samba-454de808a2a56f106c0d211c7da323829f14942d.tar.bz2 samba-454de808a2a56f106c0d211c7da323829f14942d.zip |
r23355: Fix some more build warnings.
Guenther
(This used to be commit 23e25bba8fafb31492b517d63f0a00c5ec07d5da)
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; } |