summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline/popt_credentials.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-17 13:14:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:50:59 -0500
commit57dd182915c3e81291a3aa48bd6c6795fd00a96f (patch)
tree754068d5fbf4253e32882710f464f60b450be506 /source4/lib/cmdline/popt_credentials.c
parent86a137b6ccefc2c2206843f31c9377beb711e3d3 (diff)
downloadsamba-57dd182915c3e81291a3aa48bd6c6795fd00a96f.tar.gz
samba-57dd182915c3e81291a3aa48bd6c6795fd00a96f.tar.bz2
samba-57dd182915c3e81291a3aa48bd6c6795fd00a96f.zip
r22306: try to make the aix compiler happy
metze (This used to be commit 44e1459373821adf4ed41a814a1be238442e37fb)
Diffstat (limited to 'source4/lib/cmdline/popt_credentials.c')
-rw-r--r--source4/lib/cmdline/popt_credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c
index ab1d11bfbf..b13b81c366 100644
--- a/source4/lib/cmdline/popt_credentials.c
+++ b/source4/lib/cmdline/popt_credentials.c
@@ -137,7 +137,7 @@ static void popt_common_credentials_callback(poptContext con,
struct poptOption popt_common_credentials[] = {
- { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE|POPT_CBFLAG_POST, popt_common_credentials_callback },
+ { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE|POPT_CBFLAG_POST, (void *)popt_common_credentials_callback },
{ "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", "[DOMAIN\\]USERNAME[%PASSWORD]" },
{ "no-pass", 'N', POPT_ARG_NONE, &dont_ask, True, "Don't ask for a password" },
{ "password", 0, POPT_ARG_STRING, NULL, OPT_PASSWORD, "Password" },