summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-08 21:13:24 +0200
committerVolker Lendecke <vl@samba.org>2009-06-08 21:14:11 +0200
commit094f47e7cf88b411eb4f1cbce0e52665c4a7cec6 (patch)
treec0373178699825f5d79559ad2f4386fb2626d194 /source3/passdb
parent275ca400db7a287a08288e2235b1deb929cea2a3 (diff)
downloadsamba-094f47e7cf88b411eb4f1cbce0e52665c4a7cec6.tar.gz
samba-094f47e7cf88b411eb4f1cbce0e52665c4a7cec6.tar.bz2
samba-094f47e7cf88b411eb4f1cbce0e52665c4a7cec6.zip
Fix two 64-bit warnings
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ads.c b/source3/passdb/pdb_ads.c
index 9471f1ae71..abd9f75a57 100644
--- a/source3/passdb/pdb_ads.c
+++ b/source3/passdb/pdb_ads.c
@@ -512,7 +512,7 @@ static NTSTATUS pdb_ads_getgrfilter(struct pdb_methods *m, GROUP_MAP *map,
}
if (talloc_array_length(group) != 1) {
DEBUG(10, ("Expected 1 user, got %d\n",
- talloc_array_length(group)));
+ (int)talloc_array_length(group)));
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
@@ -904,7 +904,7 @@ static NTSTATUS pdb_ads_delete_alias(struct pdb_methods *m,
}
if (talloc_array_length(alias) != 1) {
DEBUG(10, ("Expected 1 alias, got %d\n",
- talloc_array_length(alias)));
+ (int)talloc_array_length(alias)));
return NT_STATUS_INTERNAL_DB_CORRUPTION;
}
if (!tldap_entry_dn(alias[0], &dn)) {