summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/dns/dns_update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/dns/dns_update.c b/source4/dsdb/dns/dns_update.c
index 0f5de36ed1..82cb7155ac 100644
--- a/source4/dsdb/dns/dns_update.c
+++ b/source4/dsdb/dns/dns_update.c
@@ -85,7 +85,8 @@ static void dnsupdate_rebuild(struct dnsupdate_service *service)
int ret;
struct ldb_result *res;
const char *tmp_path, *path;
- int fd, i;
+ int fd;
+ unsigned int i;
const char *attrs[] = { "sAMAccountName", NULL };
const char *realm = lp_realm(service->task->lp_ctx);
TALLOC_CTX *tmp_ctx = talloc_new(service);