summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-02-11 11:49:26 +0100
committerAndrew Bartlett <abartlet@samba.org>2010-02-25 08:17:12 +1100
commitfc4c839bc839faadefc3283d2c2bdfc6d5279c9b (patch)
treeb8e9f8f32ae798bea7e08d268e74c2da4976f398 /source4/dsdb
parentec536a0121a752b9211ba258ed015a821b8391ba (diff)
downloadsamba-fc4c839bc839faadefc3283d2c2bdfc6d5279c9b.tar.gz
samba-fc4c839bc839faadefc3283d2c2bdfc6d5279c9b.tar.bz2
samba-fc4c839bc839faadefc3283d2c2bdfc6d5279c9b.zip
s4:DNS update - change "i" to be unsigned
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
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);