summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2019-03-21 00:21:38 +0800
committerMatt Johnston <matt@ucc.asn.au>2019-03-21 00:21:38 +0800
commit6fecc91d1056fb7e022abb6f411dcf30edae85a6 (patch)
treef603f881a1699685eaca6d0ed725b1c3fe070853 /cli-runopts.c
parent8b4f60a7a113f4e9ae801dea88606f2663728f03 (diff)
fix constness build error
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index a483345..7d1fffe 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -214,7 +214,7 @@ void cli_getopts(int argc, char ** argv) {
cli_opts.always_accept_key = 1;
break;
case 'p': /* remoteport */
- next = &cli_opts.remoteport;
+ next = (char**)&cli_opts.remoteport;
break;
#if DROPBEAR_CLI_PUBKEY_AUTH
case 'i': /* an identityfile */