summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-11-27 08:05:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:09 -0500
commit2d6e409dc237035fd6c53bc45e6d822ad7776731 (patch)
treedf995c697c4a416ff356d34525abb7f5a9439183 /source3
parentf57cd1f63c900a7b17955cc7e11cd1f6b6b12474 (diff)
downloadsamba-2d6e409dc237035fd6c53bc45e6d822ad7776731.tar.gz
samba-2d6e409dc237035fd6c53bc45e6d822ad7776731.tar.bz2
samba-2d6e409dc237035fd6c53bc45e6d822ad7776731.zip
r19915: Fix two type-punned warnings
(This used to be commit f1266475daa3687e0b0dc5333a6fbd12a9640c3a)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_winreg_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c
index cac06888e4..623aab8523 100644
--- a/source3/rpc_server/srv_winreg_nt.c
+++ b/source3/rpc_server/srv_winreg_nt.c
@@ -434,13 +434,13 @@ WERROR _winreg_QueryValue(pipes_struct *p, struct policy_handle *handle,
else if(strequal(value_name.name, "Counter 009")) {
outbuf_size = reg_perfcount_get_counter_names(
reg_perfcount_get_base_index(),
- (char **)&outbuf);
+ (char **)(void *)&outbuf);
free_buf = True;
}
else if(strequal(value_name.name, "Explain 009")) {
outbuf_size = reg_perfcount_get_counter_help(
reg_perfcount_get_base_index(),
- (char **)&outbuf);
+ (char **)(void *)&outbuf);
free_buf = True;
}
else if(isdigit(value_name.name[0])) {