diff options
Diffstat (limited to 'source3/utils/net_rpc_registry.c')
-rw-r--r-- | source3/utils/net_rpc_registry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_registry.c b/source3/utils/net_rpc_registry.c index dbc3d5dfa2..e10ba008df 100644 --- a/source3/utils/net_rpc_registry.c +++ b/source3/utils/net_rpc_registry.c @@ -1723,7 +1723,7 @@ static WERROR import_create_val(struct import_ctx* ctx, status = rpccli_winreg_SetValue(ctx->pipe_hnd, mem_ctx, parent, valuename, type, - discard_const(val), len, &werr); + (uint8_t *)discard_const(val), len, &werr); if (!NT_STATUS_IS_OK(status)) { d_fprintf(stderr, _("registry_setvalue failed: %s\n"), nt_errstr(status)); |