X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=misc.c;h=fbfc34f25ad30362007b2e1d5ee6f7325a8cf139;hb=12e019bafc75cb441e965c63e15dfceeaf71ca1e;hp=3a27572257d7a8881f0d6489ba1eb490b46160c1;hpb=dbb8e964937204550cda6ae58488b639e53cc689;p=PuTTY.git 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;