nbt_server: Align integer types
authorVolker Lendecke <vl@samba.org>
Mon, 16 Apr 2018 14:02:42 +0000 (16:02 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 17 Apr 2018 22:11:51 +0000 (00:11 +0200)
sizeof returns size_t

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Wed Apr 18 00:11:51 CEST 2018 on sn-devel-144

source4/nbt_server/dgram/request.c

index 0e9a0459458c185a60b862556756701d3383aa85..908e8d0f35d9bb7fbbaedb1ad07a91476667fafe 100644 (file)
@@ -67,7 +67,7 @@ NTSTATUS nbtd_dgram_setup(struct nbtd_interface *iface, const char *bind_address
        NTSTATUS status;
        TALLOC_CTX *tmp_ctx = talloc_new(iface);
        /* the list of mailslots that we are interested in */
-       int i;
+       size_t i;
 
        if (!tmp_ctx) {
                return NT_STATUS_NO_MEMORY;