s3: libsmb: Convert node_status_query() and associated functions and callers to expec...
[samba.git] / source3 / utils / nmblookup.c
index 388bb9b8a6415b92c4b3aee92aebbfc553a7befc..856cc91391a05822e8a5935432fe67acac564ff5 100644 (file)
@@ -114,7 +114,8 @@ static bool do_node_status(const char *name,
                struct sockaddr_storage *pss)
 {
        struct nmb_name nname;
-       int count, i, j;
+       size_t count = 0;
+       size_t i, j;
        struct node_status *addrs;
        struct node_status_extra extra;
        fstring cleanname;