]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/uxplink.c
Fix a couple of signedness compiler warnings, presumably due to me
[PuTTY.git] / unix / uxplink.c
index b4fa6da19111dffccbb36a7d098c24ea873d1304..e9c6c9e6eedae82017dee5849622d991c30b4002 100644 (file)
@@ -432,9 +432,9 @@ int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
 /*
  * Handle data from a local tty in PARMRK format.
  */
-static void from_tty(void *buf, unsigned len)
+static void from_tty(void *vbuf, unsigned len)
 {
-    char *p, *q, *end;
+    char *p, *q, *end, *buf = vbuf;
     static enum {NORMAL, FF, FF00} state = NORMAL;
 
     p = buf; end = buf + len;