diff options
-rw-r--r-- | source4/libnet/libnet_join.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/drsuapi_cracknames.c | 4 | ||||
-rw-r--r-- | source4/torture/rpc/dssync.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c index 71bef3135f..e26dd9d92b 100644 --- a/source4/libnet/libnet_join.c +++ b/source4/libnet/libnet_join.c @@ -184,7 +184,7 @@ static NTSTATUS libnet_JoinADSDomain(struct libnet_context *ctx, struct libnet_J } r_crack_names.out.ctr = talloc(r, union drsuapi_DsNameCtr); - r_crack_names.out.level_out = talloc(r, int32_t); + r_crack_names.out.level_out = talloc(r, uint32_t); if (!r_crack_names.out.ctr || !r_crack_names.out.level_out) { r->out.error_string = NULL; talloc_free(tmp_ctx); diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c index 98b64b8746..c4acd6a8c5 100644 --- a/source4/torture/rpc/drsuapi_cracknames.c +++ b/source4/torture/rpc/drsuapi_cracknames.c @@ -44,7 +44,7 @@ static bool test_DsCrackNamesMatrix(struct torture_context *tctx, const char *err_msg; struct drsuapi_DsCrackNames r; union drsuapi_DsNameRequest req; - int32_t level_out; + uint32_t level_out; union drsuapi_DsNameCtr ctr; struct dcerpc_pipe *p = priv->drs_pipe; TALLOC_CTX *mem_ctx = priv; @@ -237,7 +237,7 @@ bool test_DsCrackNames(struct torture_context *tctx, const char *err_msg; struct drsuapi_DsCrackNames r; union drsuapi_DsNameRequest req; - int32_t level_out; + uint32_t level_out; union drsuapi_DsNameCtr ctr; struct drsuapi_DsNameString names[1]; const char *dns_domain; diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index 2f903c74c3..58ea07e36b 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -303,7 +303,7 @@ static bool test_GetInfo(struct torture_context *tctx, struct DsSyncTest *ctx) struct drsuapi_DsCrackNames r; union drsuapi_DsNameRequest req; union drsuapi_DsNameCtr ctr; - int32_t level_out = 0; + uint32_t level_out = 0; struct drsuapi_DsNameString names[1]; bool ret = true; struct cldap_socket *cldap; |