Author: metze Date: 2005-11-02 16:48:22 +0000 (Wed, 02 Nov 2005) New Revision: 11479
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11479 Log: fix compiler warning metze Modified: branches/SAMBA_4_0/source/torture/rpc/samlogon.c Changeset: Modified: branches/SAMBA_4_0/source/torture/rpc/samlogon.c =================================================================== --- branches/SAMBA_4_0/source/torture/rpc/samlogon.c 2005-11-02 15:56:24 UTC (rev 11478) +++ branches/SAMBA_4_0/source/torture/rpc/samlogon.c 2005-11-02 16:48:22 UTC (rev 11479) @@ -1475,7 +1475,7 @@ 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 @@ 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;
