diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-19 18:49:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:48 -0500 |
commit | 5c822ecc495bbac95704378c6e09885255076cbe (patch) | |
tree | 155cddbe2f1ba8bbf7623af8056649c2775b1a1f | |
parent | f40e9fcc5b75fdd272a8de17c560cdc5b3e68694 (diff) | |
download | samba-5c822ecc495bbac95704378c6e09885255076cbe.tar.gz samba-5c822ecc495bbac95704378c6e09885255076cbe.tar.bz2 samba-5c822ecc495bbac95704378c6e09885255076cbe.zip |
r16358: ALWAYS compile this stuff on a 64-bit box before
checking in. size_t != uint32 on a 64-bit machine.
Jeremy.
(This used to be commit 09c89732869eae0d8c8971ac78235d34e4dcecb9)
-rw-r--r-- | source3/nsswitch/winbindd_rpc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_rpc.c b/source3/nsswitch/winbindd_rpc.c index 322d284e0c..984c5cd841 100644 --- a/source3/nsswitch/winbindd_rpc.c +++ b/source3/nsswitch/winbindd_rpc.c @@ -527,8 +527,10 @@ NTSTATUS msrpc_lookup_useraliases(struct winbindd_domain *domain, /* process output */ for (i=0; i<num_aliases_query; i++) { + size_t na = *num_aliases; add_rid_to_array_unique(mem_ctx, alias_rids_query[i], - alias_rids, num_aliases); + alias_rids, &na); + *num_aliases = na; } TALLOC_FREE(query_sids); |