# HG changeset patch # User Matt Johnston # Date 1458054211 -28800 # Node ID 8291fc87273ed6b15f75c51eff37ace100fee1fd # Parent 55d485943eb0dd94c4c3449dd1f4d868810e42a2 Fix truncated type for getc() at confirmation prompt diff -r 55d485943eb0 -r 8291fc87273e cli-kex.c --- a/cli-kex.c Tue Mar 15 22:40:15 2016 +0800 +++ b/cli-kex.c Tue Mar 15 23:03:31 2016 +0800 @@ -186,7 +186,7 @@ char* fp = NULL; FILE *tty = NULL; - char response = 'z'; + int response = 'z'; fp = sign_key_fingerprint(keyblob, keybloblen); if (cli_opts.always_accept_key) {