From 045e8ca574d0007ed5cf747bbe4a89957c4621b3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 2 Nov 2005 16:48:22 +0000 Subject: r11479: fix compiler warning metze (This used to be commit 5f45d070208eedaef59bff5f7e05f37719285d84) --- source4/torture/rpc/samlogon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 07ffdce006..11cfed99c6 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -1475,7 +1475,7 @@ BOOL torture_rpc_samlogon(void) BOOL ret = True; struct test_join *join_ctx; struct test_join *user_ctx; - const char *user_password; + char *user_password; const char *old_user_password; char *test_machine_account; const char *binding = lp_parm_string(-1, "torture", "binding"); @@ -1512,7 +1512,7 @@ BOOL torture_rpc_samlogon(void) user_ctx = torture_create_testuser(TEST_USER_NAME, userdomain, ACB_NORMAL, - &user_password); + (const char **)&user_password); if (!user_ctx) { printf("Failed to join as Workstation\n"); return False; -- cgit