Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / windlg.c
index a045daf..c9f96fe 100644 (file)
--- a/windlg.c
+++ b/windlg.c
@@ -659,7 +659,7 @@ int do_reconfig(HWND hwnd)
     return ret;
 }
 
-void logevent(void *frontend, char *string)
+void logevent(void *frontend, const char *string)
 {
     char timebuf[40];
     time_t t;