]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxcons.c
Giant const-correctness patch of doom!
[PuTTY.git] / unix / uxcons.c
index ea6297c4980382c753ceb835bc5b8fcf2f90b0d6..eabb7769dddc0a3284018c0efe2a8fa4ed3edd73 100644 (file)
@@ -364,7 +364,8 @@ static void console_prompt_text(FILE *outfp, const char *data, int len)
     fflush(outfp);
 }
 
-int console_get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
+int console_get_userpass_input(prompts_t *p, const unsigned char *in,
+                               int inlen)
 {
     size_t curr_prompt;
     FILE *outfp = NULL;