summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-02 16:48:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:42 -0500
commit045e8ca574d0007ed5cf747bbe4a89957c4621b3 (patch)
treebc23e1f02bcc0d2872e7166bb6cd4bc47ae8ba39 /source4
parent580cfbb23ad22c401c7810c43179616fc34f1ce5 (diff)
downloadsamba-045e8ca574d0007ed5cf747bbe4a89957c4621b3.tar.gz
samba-045e8ca574d0007ed5cf747bbe4a89957c4621b3.tar.bz2
samba-045e8ca574d0007ed5cf747bbe4a89957c4621b3.zip
r11479: fix compiler warning
metze (This used to be commit 5f45d070208eedaef59bff5f7e05f37719285d84)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/samlogon.c4
1 files changed, 2 insertions, 2 deletions
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;