Mercurial > dropbear
diff cli-runopts.c @ 1642:21dabe66f2c8
fix constness build error
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 21 Mar 2019 00:21:38 +0800 |
parents | cf8dc6204fb6 |
children | f8d8af12ac14 |
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 */