Author: metze Date: 2006-02-22 09:48:35 +0000 (Wed, 22 Feb 2006) New Revision: 13618
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13618 Log: fix compiler warning metze Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c Changeset: Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c =================================================================== --- branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c 2006-02-22 09:48:13 UTC (rev 13617) +++ branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c 2006-02-22 09:48:35 UTC (rev 13618) @@ -86,7 +86,7 @@ case OPT_PASSWORD: cli_credentials_set_password(cmdline_credentials, arg, CRED_SPECIFIED); /* Try to prevent this showing up in ps */ - memset(arg,0,strlen(arg)); + memset(discard_const(arg),0,strlen(arg)); break; case 'A':
