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 | 23e25bba8fafb31492b517d63f0a00c5ec07d5da (patch) | |
tree | 1a5897d731996b06e8c72e7eff55bb87a7e346d3 /source/nsswitch | |
parent | 4ad456e988f0b9b65890b4cf6a4f1b63ef1585b8 (diff) | |
download | samba-23e25bba8fafb31492b517d63f0a00c5ec07d5da.tar.gz samba-23e25bba8fafb31492b517d63f0a00c5ec07d5da.tar.xz samba-23e25bba8fafb31492b517d63f0a00c5ec07d5da.zip |
r23355: Fix some more build warnings.
Guenther
Diffstat (limited to 'source/nsswitch')
-rw-r--r-- | source/nsswitch/winbindd_ads.c | 4 | ||||
-rw-r--r-- | source/nsswitch/winbindd_cache.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/nsswitch/winbindd_ads.c b/source/nsswitch/winbindd_ads.c index d362f3173b2..5dd7eafcd18 100644 --- a/source/nsswitch/winbindd_ads.c +++ b/source/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/source/nsswitch/winbindd_cache.c b/source/nsswitch/winbindd_cache.c index eba34976754..d1c34100ca2 100644 --- a/source/nsswitch/winbindd_cache.c +++ b/source/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; } |