diff options
author | Andreas Schneider <asn@samba.org> | 2017-12-07 17:43:08 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-03-20 23:16:15 +0100 |
commit | 8438897828b16bfc5985d02b76268609a7610c7d (patch) | |
tree | 3369165d272b07e9cc75aad826fad1cb40439c79 /source4 | |
parent | 1bd4a0cf27dfe820ec9103374ed225375aac8ded (diff) | |
download | samba-8438897828b16bfc5985d02b76268609a7610c7d.tar.gz |
s4:ldap_server: Fix size types
This fixes compilation with -Wstrict-overflow=2
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/ldap_server/ldap_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c index 5f7efe90bba..91e5d05b7fe 100644 --- a/source4/ldap_server/ldap_server.c +++ b/source4/ldap_server/ldap_server.c @@ -1178,8 +1178,8 @@ static void ldapsrv_task_init(struct task_server *task) } } else { char **wcard; - int i; - int num_binds = 0; + size_t i; + size_t num_binds = 0; wcard = iface_list_wildcard(task); if (wcard == NULL) { DEBUG(0,("No wildcard addresses available\n")); |