summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-22 12:40:42 -0700
committerGünther Deschner <gd@samba.org>2010-09-22 12:57:34 -0700
commitfe4576dff0dd949d87a099afc6b66e4763537fdd (patch)
treeda186cedee3a8568149eb9cf822ea5ceb6f25781 /source3/utils
parent314dc23ecfb5fc014f9c2ef70bd508eb837632b0 (diff)
downloadsamba-fe4576dff0dd949d87a099afc6b66e4763537fdd.tar.gz
samba-fe4576dff0dd949d87a099afc6b66e4763537fdd.tar.bz2
samba-fe4576dff0dd949d87a099afc6b66e4763537fdd.zip
s3-registry: fix some c++ build warnings.
Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_rpc_registry.c2
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));