Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / unix / uxplink.c
index 9fce056..5d3efb2 100644 (file)
@@ -574,7 +574,7 @@ int main(int argc, char **argv)
      */
     logctx = log_init(NULL, &cfg);
     {
-       char *error;
+       const char *error;
        char *realhost;
        /* nodelay is only useful if stdin is a terminal device */
        int nodelay = cfg.tcp_nodelay && isatty(0);