summaryrefslogtreecommitdiff
path: root/source3/utils/net_ads.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-05 14:56:30 -0700
committerJeremy Allison <jra@samba.org>2011-05-06 00:57:00 +0200
commit9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a (patch)
tree90247f66882a6fd64604b7a45310364b6a9cfede /source3/utils/net_ads.c
parentf85e095dd29638dcb4819f60a7239bc37e8a41ca (diff)
downloadsamba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.tar.gz
samba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.tar.bz2
samba-9eee6e2fd2fcb1dcf19541d1bdc72eb048b3ba4a.zip
More const fixes... getting near the end now.
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/utils/net_ads.c')
-rw-r--r--source3/utils/net_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index a966e5dd63..f753095322 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -2082,7 +2082,7 @@ static int net_ads_password(struct net_context *c, int argc, const char **argv)
}
if (argv[1]) {
- new_password = (char *)argv[1];
+ new_password = (const char *)argv[1];
} else {
if (asprintf(&prompt, _("Enter new password for %s:"), user) == -1) {
return -1;