Mercurial > dropbear
changeset 1642:21dabe66f2c8
fix constness build error
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 Mar 2019 00:21:38 +0800 |
parents | 228b086794b7 |
children | b3196c46f780 |
files | cli-runopts.c runopts.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/cli-runopts.c Thu Mar 21 00:09:07 2019 +0800 +++ b/cli-runopts.c Thu Mar 21 00:21:38 2019 +0800 @@ -214,7 +214,7 @@ 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 */