diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-29 11:49:50 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-02 15:33:48 +0200 |
commit | 44df2488e30da783add33b4fb85d96ce65856484 (patch) | |
tree | 3750f027eb89377d3908e802869cfca5922b237c /source4/torture/smb2/dir.c | |
parent | f390daef475126b4ff5a3d0ffd2babbd87d4c22b (diff) | |
download | samba-44df2488e30da783add33b4fb85d96ce65856484.tar.gz samba-44df2488e30da783add33b4fb85d96ce65856484.tar.bz2 samba-44df2488e30da783add33b4fb85d96ce65856484.zip |
s4: fix various warnings (not "const" related ones)
Diffstat (limited to 'source4/torture/smb2/dir.c')
-rw-r--r-- | source4/torture/smb2/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/smb2/dir.c b/source4/torture/smb2/dir.c index 3551f9718f..4af6900a81 100644 --- a/source4/torture/smb2/dir.c +++ b/source4/torture/smb2/dir.c @@ -1105,7 +1105,7 @@ static bool test_file_index(struct torture_context *tctx, struct smb2_find f; struct smb2_handle h; union smb_search_data *d; - int count; + unsigned count; smb2_deltree(tree, DNAME); @@ -1223,9 +1223,9 @@ static bool test_large_files(struct torture_context *tctx, struct smb2_find f; struct smb2_handle h; union smb_search_data *d; - int count, file_count = 0; + int i, j, file_count = 0; char **strs = NULL; - int i, j; + unsigned count; torture_comment(tctx, "Testing directory enumeration in a directory with >1000 files\n"); |