]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Align an integer type
authorVolker Lendecke <vl@samba.org>
Mon, 24 Jun 2024 14:51:08 +0000 (16:51 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 28 Jun 2024 13:26:24 +0000 (13:26 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/smb1_negprot.c

index 7171c663f41b5fc14791bff20783c19c2af4373c..52608e8a7dd6de9e0b959b47f97aff6df1e4bfbc 100644 (file)
@@ -480,7 +480,7 @@ void reply_negprot(struct smb_request *req)
        int protocol;
        const char *p;
        int protocols = 0;
-       int num_cliprotos;
+       size_t num_cliprotos;
        char **cliprotos;
        size_t i;
        size_t converted_size;