X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/d3fef4a5f0fbcc8990e7cd8c840e06f9675e20f9..2856a1b9009fe14b762f61c824d0e8d5cc86b542:/scp.c diff --git a/scp.c b/scp.c index cc09a46b..40d05df4 100644 --- a/scp.c +++ b/scp.c @@ -317,7 +317,7 @@ static unsigned char *outptr; /* where to put the data */ static unsigned outlen; /* how much data required */ static unsigned char *pending = NULL; /* any spare data */ static unsigned pendlen = 0, pendsize = 0; /* length and phys. size of buffer */ -int from_backend(void *frontend, int is_stderr, char *data, int datalen) +int from_backend(void *frontend, int is_stderr, const char *data, int datalen) { unsigned char *p = (unsigned char *) data; unsigned len = (unsigned) datalen;