]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Align integer types in net_share_enum_rpc()
authorVolker Lendecke <vl@samba.org>
Mon, 20 Apr 2020 07:56:51 +0000 (09:56 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 May 2020 11:48:39 +0000 (11:48 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/libsmb_dir.c

index 581dd6b9c1cb9663caedf847330ee82ed8ae6068..c817c70789b041543f2762e3afa3b3b153ad76db 100644 (file)
@@ -360,7 +360,7 @@ net_share_enum_rpc(struct cli_state *cli,
                               void *state),
                    void *state)
 {
-        int i;
+        uint32_t i;
        WERROR result;
        uint32_t preferred_len = 0xffffffff;
         uint32_t type;