s4:cldap_server.c - here the counter variable should be "signed"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 18 Jun 2010 16:57:38 +0000 (18:57 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 18 Jun 2010 16:57:38 +0000 (18:57 +0200)
source4/cldap_server/cldap_server.c

index 8bed38b557c8a2694fe666b86a4d05962dadfc4c..09c9889859eb30d39881af6acf4640b9907f5583 100644 (file)
@@ -147,10 +147,9 @@ static NTSTATUS cldapd_add_socket(struct cldapd_server *cldapd, struct loadparm_
 static NTSTATUS cldapd_startup_interfaces(struct cldapd_server *cldapd, struct loadparm_context *lp_ctx,
                                          struct interface *ifaces)
 {
-       int num_interfaces;
+       int i, num_interfaces;
        TALLOC_CTX *tmp_ctx = talloc_new(cldapd);
        NTSTATUS status;
-       unsigned int i;
 
        num_interfaces = iface_count(ifaces);