X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/e1ef3c298c7fbbf4b1b0a702684b3cdd07591eb1..e223b7c7fb42431f9d4f7111c5df209d6b8b1d25:/misc.c diff --git a/misc.c b/misc.c index 3a275722..fbfc34f2 100644 --- a/misc.c +++ b/misc.c @@ -102,7 +102,7 @@ prompts_t *new_prompts(void *frontend) void add_prompt(prompts_t *p, char *promptstr, int echo, size_t len) { prompt_t *pr = snew(prompt_t); - unsigned char *result = snewn(len, unsigned char); + char *result = snewn(len, char); pr->prompt = promptstr; pr->echo = echo; pr->result = result;