summaryrefslogtreecommitdiffstats
path: root/source/utils/net_rpc_registry.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-07 15:07:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:21:54 -0500
commita66a04e9f11f6c4462f2b56b447bae4eca7b177c (patch)
tree3e13993827ca64a6836ef241607464effa195a4d /source/utils/net_rpc_registry.c
parenta99ab3a2ed44522054175f03b60e63fa05a0378a (diff)
downloadsamba-a66a04e9f11f6c4462f2b56b447bae4eca7b177c.tar.gz
samba-a66a04e9f11f6c4462f2b56b447bae4eca7b177c.tar.xz
samba-a66a04e9f11f6c4462f2b56b447bae4eca7b177c.zip
r22747: Fix some C++ warnings
Diffstat (limited to 'source/utils/net_rpc_registry.c')
-rw-r--r--source/utils/net_rpc_registry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/net_rpc_registry.c b/source/utils/net_rpc_registry.c
index f1c046c1817..b439f50ee44 100644
--- a/source/utils/net_rpc_registry.c
+++ b/source/utils/net_rpc_registry.c
@@ -263,7 +263,7 @@ static NTSTATUS registry_enumvalues(TALLOC_CTX *ctx,
name_buf.size = max_valnamelen + 2;
data_size = max_valbufsize;
- data = TALLOC(mem_ctx, data_size);
+ data = (uint8 *)TALLOC(mem_ctx, data_size);
value_length = 0;
status = rpccli_winreg_EnumValue(pipe_hnd, mem_ctx, key_hnd,