]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - misc.c
Mention XXX-REVIEW-BEFORE-RELEASE in the same place as
[PuTTY.git] / misc.c
diff --git a/misc.c b/misc.c
index 3a27572257d7a8881f0d6489ba1eb490b46160c1..fbfc34f25ad30362007b2e1d5ee6f7325a8cf139 100644 (file)
--- 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;