Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / window.c
index 6d306f5..c9d8df5 100644 (file)
--- a/window.c
+++ b/window.c
@@ -636,7 +636,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
      * Start up the telnet connection.
      */
     {
-       char *error;
+       const char *error;
        char msg[1024], *title;
        char *realhost;