summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-01 04:39:15 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-01 04:39:15 +0000
commit840e8b35027e49c6b4ecdb6abd538f5bdc196057 (patch)
treef810168cec393adc993b5c344ee854eae1feaae7 /source3
parent1d4b2ff4b5766cf36965188f982a36483395f864 (diff)
downloadsamba-840e8b35027e49c6b4ecdb6abd538f5bdc196057.tar.gz
samba-840e8b35027e49c6b4ecdb6abd538f5bdc196057.tar.bz2
samba-840e8b35027e49c6b4ecdb6abd538f5bdc196057.zip
A couple more signed/unsigned issues.
(This used to be commit 01d78b828b89f04b70b53ded01a7f4b356979317)
Diffstat (limited to 'source3')
-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;