summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-01 07:25:53 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-01 07:25:53 +0000
commit3b2244526c7ae64f744539154681b9883daebc3f (patch)
treee97ff5a3fa541746a605d1f58862c65d16e999f5 /source3/passdb
parent21554bfae25d556562b24bdc5966fa517602561a (diff)
downloadsamba-3b2244526c7ae64f744539154681b9883daebc3f.tar.gz
samba-3b2244526c7ae64f744539154681b9883daebc3f.tar.bz2
samba-3b2244526c7ae64f744539154681b9883daebc3f.zip
Merge of signed/unsigned fixes from HEAD.
(This used to be commit e9f56a157bd472914eebf64fde586104d8274717)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/secrets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index a52e264270..a58ea492ea 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -468,12 +468,12 @@ BOOL secrets_store_ldap_pw(const char* dn, char* pw)
* @return nt status code of rpc response
**/
-NTSTATUS secrets_get_trusted_domains(TALLOC_CTX* ctx, int* enum_ctx, int max_num_domains, int *num_domains, TRUSTDOM ***domains)
+NTSTATUS secrets_get_trusted_domains(TALLOC_CTX* ctx, int* enum_ctx, unsigned int max_num_domains, int *num_domains, TRUSTDOM ***domains)
{
TDB_LIST_NODE *keys, *k;
TRUSTDOM *dom = NULL;
char *pattern;
- int start_idx;
+ unsigned int start_idx;
uint32 idx = 0;
size_t size;
fstring dom_name;