From: Volker Lendecke Date: Sat, 28 Dec 2024 11:08:21 +0000 (+0100) Subject: torture4: Align a few integer types X-Git-Tag: tdb-1.4.13~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c5817d8e1342991ef292aa43d52075edee9fb50;p=thirdparty%2Fsamba.git torture4: Align a few integer types Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index edca38d6766..58f1fa090d9 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -242,7 +242,7 @@ static struct { static const char *level_name(enum smb_search_level level, enum smb_search_data_level data_level) { - int i; + size_t i; for (i=0;ibinding_handle; @@ -1984,7 +1984,7 @@ static bool test_NetShareEnum(struct torture_context *tctx, struct srvsvc_NetShareCtr1007 c1007; uint32_t totalentries = 0; uint32_t levels[] = { 0, 1, 2, 501, 502, 1004, 1005, 1006, 1007 }; - int i; + size_t i; bool ret = true; struct dcerpc_binding_handle *b = p->binding_handle; @@ -2582,7 +2582,7 @@ static bool torture_samba3_rpc_lsa(struct torture_context *torture) } { - int i; + size_t i; int levels[] = { 2,3,5,6 }; for (i=0; ibinding_handle; ZERO_STRUCT(c1_in);