]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dnsserver: Align an integer type
authorVolker Lendecke <vl@samba.org>
Thu, 3 Jul 2025 08:38:03 +0000 (10:38 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 2 Sep 2025 08:08:29 +0000 (08:08 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
source4/rpc_server/dnsserver/dnsutils.c

index 891322fe3a8e540d7c9ec09b70d394aef3a471d0..bf3225c3e47b5a90d7e171aa98e2fd41f188b92e 100644 (file)
@@ -230,7 +230,7 @@ struct dnsserver_zoneinfo *dnsserver_init_zoneinfo(struct dnsserver_zone *zone,
        const char *revzone = "in-addr.arpa";
        const char *revzone6 = "ip6.arpa";
        int len1, len2;
-       unsigned int i = 0;
+       int32_t i = 0;
 
        zoneinfo = talloc_zero(zone, struct dnsserver_zoneinfo);
        if (zoneinfo == NULL) {