summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-31 12:01:34 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-31 12:08:58 +0200
commit0eec33417eb56d1352fd66565f55162c62d86fcd (patch)
treeee2335f7cb9d1867a231fce21c961958fe493690 /source4
parentaaf1c751f4cf447d80ef9dae341ef3247c1607e2 (diff)
downloadsamba-0eec33417eb56d1352fd66565f55162c62d86fcd.tar.gz
samba-0eec33417eb56d1352fd66565f55162c62d86fcd.tar.bz2
samba-0eec33417eb56d1352fd66565f55162c62d86fcd.zip
s4:dcesrv_netr_DsrEnumerateDomainTrusts - fix an integer type
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index c57f4145c6..cfcb4f6aaa 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -1980,7 +1980,7 @@ static WERROR dcesrv_netr_DsrEnumerateDomainTrusts(struct dcesrv_call_state *dce
/* NOTE: we currently are always the root of the forest */
if (r->in.trust_flags & NETR_TRUST_FLAG_IN_FOREST) {
- int n = trusts->count;
+ uint32_t n = trusts->count;
ret = gendb_search_dn(sam_ctx, mem_ctx, NULL,
&dom_res, dom_attrs);