From: Volker Lendecke Date: Mon, 7 Feb 2022 14:19:35 +0000 (+0100) Subject: torture: Align integer types X-Git-Tag: tevent-0.12.0~727 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8eb75cca53c8ea9ebbec99bab6b085401495e81;p=thirdparty%2Fsamba.git torture: Align integer types finfo.stream_info.out.num_streams is declared as "unsigned int" Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source4/torture/smb2/streams.c b/source4/torture/smb2/streams.c index c5ece0d9bcb..dee8f8afc9d 100644 --- a/source4/torture/smb2/streams.c +++ b/source4/torture/smb2/streams.c @@ -155,13 +155,13 @@ static bool check_stream(struct torture_context *tctx, static bool check_stream_list(struct smb2_tree *tree, struct torture_context *tctx, const char *fname, - int num_exp, + unsigned int num_exp, const char **exp, struct smb2_handle h) { union smb_fileinfo finfo; NTSTATUS status; - int i; + unsigned int i; TALLOC_CTX *tmp_ctx = talloc_new(tctx); char **exp_sort; struct stream_struct *stream_sort;