diff options
-rw-r--r-- | source4/torture/rpc/winreg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 876bc5ff27..c97a3ddc88 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -3104,16 +3104,16 @@ struct torture_suite *torture_rpc_winreg(TALLOC_CTX *mem_ctx) torture_rpc_tcase_add_test_ex(tcase, "HKLM", test_Open, - (winreg_open_fn)dcerpc_winreg_OpenHKLM_r); + (void *)dcerpc_winreg_OpenHKLM_r); torture_rpc_tcase_add_test_ex(tcase, "HKU", test_Open, - (winreg_open_fn)dcerpc_winreg_OpenHKU_r); + (void *)dcerpc_winreg_OpenHKU_r); torture_rpc_tcase_add_test_ex(tcase, "HKCR", test_Open, - (winreg_open_fn)dcerpc_winreg_OpenHKCR_r); + (void *)dcerpc_winreg_OpenHKCR_r); torture_rpc_tcase_add_test_ex(tcase, "HKCU", test_Open, - (winreg_open_fn)dcerpc_winreg_OpenHKCU_r); + (void *)dcerpc_winreg_OpenHKCU_r); return suite; } |