diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-27 08:05:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:09 -0500 |
commit | f1266475daa3687e0b0dc5333a6fbd12a9640c3a (patch) | |
tree | 34d6f24599f4f9627774cfb6ca44a7fa40e88857 /source/rpc_server/srv_winreg_nt.c | |
parent | b148cde7f39859102288a87b6f0bd2b250947a85 (diff) | |
download | samba-f1266475daa3687e0b0dc5333a6fbd12a9640c3a.tar.gz samba-f1266475daa3687e0b0dc5333a6fbd12a9640c3a.tar.xz samba-f1266475daa3687e0b0dc5333a6fbd12a9640c3a.zip |
r19915: Fix two type-punned warnings
Diffstat (limited to 'source/rpc_server/srv_winreg_nt.c')
-rw-r--r-- | source/rpc_server/srv_winreg_nt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_server/srv_winreg_nt.c b/source/rpc_server/srv_winreg_nt.c index cac06888e4d..623aab85232 100644 --- a/source/rpc_server/srv_winreg_nt.c +++ b/source/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])) { |