summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/drsuapi.c4
-rw-r--r--source4/torture/rpc/dssync.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index b7de7bf4ad..c947b04e70 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -530,9 +530,9 @@ static bool test_DsGetNCChanges(struct torture_context *tctx,
struct drsuapi_DsReplicaObjectIdentifier nc;
struct GUID null_guid;
struct dom_sid null_sid;
- int32_t level_out;
+ uint32_t level_out;
struct {
- int32_t level;
+ uint32_t level;
} array[] = {
{
5
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 3f100f91a7..2f903c74c3 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -761,12 +761,12 @@ static bool test_FetchData(struct torture_context *tctx, struct DsSyncTest *ctx)
struct drsuapi_DsReplicaObjectIdentifier nc;
struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL;
struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL;
- int32_t out_level = 0;
+ uint32_t out_level = 0;
struct GUID null_guid;
struct dom_sid null_sid;
DATA_BLOB gensec_skey;
struct {
- int32_t level;
+ uint32_t level;
} array[] = {
/* {
5
@@ -883,7 +883,7 @@ static bool test_FetchData(struct torture_context *tctx, struct DsSyncTest *ctx)
printf("Dumping AD partition: %s\n", nc.dn);
for (y=0; ;y++) {
- int32_t _level = 0;
+ uint32_t _level = 0;
union drsuapi_DsGetNCChangesCtr ctr;
ZERO_STRUCT(r.out);