X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/c44bf5bd7bf680c21356864ac5ae72ab29e55ce6..4c80361f22171ba8b33e51257a1c7d764f65b3ed:/plink.c diff --git a/plink.c b/plink.c index 0f764cf3..bf17f530 100644 --- a/plink.c +++ b/plink.c @@ -558,7 +558,7 @@ int main(int argc, char **argv) */ netevent = CreateEvent(NULL, FALSE, FALSE, NULL); { - char *error; + const char *error; char *realhost; /* nodelay is only useful if stdin is a character device (console) */ int nodelay = cfg.tcp_nodelay &&