1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-03 12:58:35 +03:00

r19915: Fix two type-punned warnings

(This used to be commit f1266475daa3687e0b0dc5333a6fbd12a9640c3a)
This commit is contained in:
Volker Lendecke 2006-11-27 08:05:42 +00:00 committed by Gerald (Jerry) Carter
parent f57cd1f63c
commit 2d6e409dc2

View File

@ -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])) {