Oops, Ben is quite right about the rather appalling design of
[u/mdw/putty] / plink.c
diff --git a/plink.c b/plink.c
index 7bd1f90..b1bebf9 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -166,7 +166,8 @@ void try_output(int is_stderr)
     }
 }
 
-int from_backend(void *frontend_handle, int is_stderr, char *data, int len)
+int from_backend(void *frontend_handle, int is_stderr,
+                const char *data, int len)
 {
     int osize, esize;