changeset 1257:8291fc87273e

Fix truncated type for getc() at confirmation prompt
author Matt Johnston <matt@ucc.asn.au>
date Tue, 15 Mar 2016 23:03:31 +0800
parents 55d485943eb0
children 854f39ff5105
files cli-kex.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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) {