s4:DNS update - change "i" to be unsigned
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Thu, 11 Feb 2010 10:49:26 +0000 (11:49 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 24 Feb 2010 21:17:12 +0000 (08:17 +1100)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/dns/dns_update.c

index 0f5de36ed15b1e87a17525ea1e78f3ef2f9b5d4e..82cb7155ac597e027c6641573aed3f612b4823f6 100644 (file)
@@ -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);