]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture: Align integer types
authorVolker Lendecke <vl@samba.org>
Mon, 23 Nov 2020 15:15:34 +0000 (16:15 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 30 Nov 2020 22:24:38 +0000 (22:24 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/vfs/fruit.c

index a094ce0ab6515eba6fda46d5810626f793d5b30b..113f4792092d454d7f87ff1e50f21a2bc6b0ff8b 100644 (file)
@@ -5047,7 +5047,7 @@ static bool test_readdir_attr_illegal_ntfs(struct torture_context *tctx,
        unsigned int count;
        union smb_search_data *d;
        uint64_t rfork_len;
-       int i;
+       unsigned int i;
 
        smb2_deltree(tree, BASEDIR);
 
@@ -5780,7 +5780,7 @@ static bool test_copy_chunk_streams(struct torture_context *torture,
                { "src:foo", "dst:foo" },
                { "src" AFPRESOURCE_STREAM, "dst" AFPRESOURCE_STREAM }
        };
-       int i;
+       size_t i;
        TALLOC_CTX *tmp_ctx = NULL;
        bool ok = false;