changeset 1118:506e769ed6d1

Turn name and instruction local variables into char *
author Gaël PORTAY <gael.portay@gmail.com>
date Sun, 03 May 2015 00:23:55 +0200
parents 6b6ed65e99b1
children 845922d73e9c
files cli-authinteract.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/cli-authinteract.c	Sun May 03 00:01:36 2015 +0200
+++ b/cli-authinteract.c	Sun May 03 00:23:55 2015 +0200
@@ -66,8 +66,8 @@
 
 void recv_msg_userauth_info_request() {
 
-	unsigned char *name = NULL;
-	unsigned char *instruction = NULL;
+	char *name = NULL;
+	char *instruction = NULL;
 	unsigned int num_prompts = 0;
 	unsigned int i;
 
@@ -84,8 +84,8 @@
 	}
 	cli_ses.interact_request_received = 1;
 
-	name = buf_getstring(ses.payload, NULL);
-	instruction = buf_getstring(ses.payload, NULL);
+	name = (char *)buf_getstring(ses.payload, NULL);
+	instruction = (char *)buf_getstring(ses.payload, NULL);
 
 	/* language tag */
 	buf_eatstring(ses.payload);