summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-31 20:59:02 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-07-31 20:59:02 +0200
commit1b7029b47be296588b80e4c2ba871dba572cf18e (patch)
treefaaf802dcf777be7f20d9a51a8530d84f2f10f7f /source4/torture
parent380b2cb4b0d9e63b2825840697604bd977b40807 (diff)
downloadsamba-1b7029b47be296588b80e4c2ba871dba572cf18e.tar.gz
samba-1b7029b47be296588b80e4c2ba871dba572cf18e.tar.bz2
samba-1b7029b47be296588b80e4c2ba871dba572cf18e.zip
s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate casts
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/winreg.c8
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;
}