diff options
-rw-r--r-- | source3/libnet/libnet_dssync.c | 12 | ||||
-rw-r--r-- | source3/rpcclient/cmd_drsuapi.c | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c index 3b66979caa..37d2aaafb0 100644 --- a/source3/libnet/libnet_dssync.c +++ b/source3/libnet/libnet_dssync.c @@ -300,12 +300,12 @@ static NTSTATUS libnet_dssync_build_request(TALLOC_CTX *mem_ctx, struct dssync_context *ctx, const char *dn, struct replUpToDateVectorBlob *utdv, - int32_t *plevel, + uint32_t *plevel, union drsuapi_DsGetNCChangesRequest *preq) { NTSTATUS status; uint32_t count; - int32_t level; + uint32_t level; union drsuapi_DsGetNCChangesRequest req; struct dom_sid null_sid; enum drsuapi_DsExtendedOperation extended_op; @@ -415,7 +415,7 @@ fail: static NTSTATUS libnet_dssync_getncchanges(TALLOC_CTX *mem_ctx, struct dssync_context *ctx, - int32_t level, + uint32_t level, union drsuapi_DsGetNCChangesRequest *req, struct replUpToDateVectorBlob **pnew_utdv) { @@ -425,8 +425,8 @@ static NTSTATUS libnet_dssync_getncchanges(TALLOC_CTX *mem_ctx, struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL; struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL; struct replUpToDateVectorBlob *new_utdv = NULL; - int32_t level_out = 0; - int32_t out_level = 0; + uint32_t level_out = 0; + uint32_t out_level = 0; int y; bool last_query; @@ -576,7 +576,7 @@ static NTSTATUS libnet_dssync_process(TALLOC_CTX *mem_ctx, { NTSTATUS status; - int32_t level = 0; + uint32_t level = 0; union drsuapi_DsGetNCChangesRequest req; struct replUpToDateVectorBlob *old_utdv = NULL; struct replUpToDateVectorBlob *pnew_utdv = NULL; diff --git a/source3/rpcclient/cmd_drsuapi.c b/source3/rpcclient/cmd_drsuapi.c index e11922a9f8..17363d4e15 100644 --- a/source3/rpcclient/cmd_drsuapi.c +++ b/source3/rpcclient/cmd_drsuapi.c @@ -308,9 +308,9 @@ static WERROR cmd_drsuapi_getncchanges(struct rpc_pipe_client *cli, DATA_BLOB session_key; - int32_t level = 8; + uint32_t level = 8; bool single = false; - int32_t level_out = 0; + uint32_t level_out = 0; union drsuapi_DsGetNCChangesRequest req; union drsuapi_DsGetNCChangesCtr ctr; struct drsuapi_DsReplicaObjectIdentifier nc; @@ -318,7 +318,7 @@ static WERROR cmd_drsuapi_getncchanges(struct rpc_pipe_client *cli, struct drsuapi_DsGetNCChangesCtr1 *ctr1 = NULL; struct drsuapi_DsGetNCChangesCtr6 *ctr6 = NULL; - int32_t out_level = 0; + uint32_t out_level = 0; int y; uint32_t supported_extensions = 0; |