Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / unix / gtkdlg.c
index 1b58d14..a9383e7 100644 (file)
@@ -2720,7 +2720,7 @@ void *eventlogstuff_new(void)
     return es;
 }
 
-void logevent_dlg(void *estuff, char *string)
+void logevent_dlg(void *estuff, const char *string)
 {
     struct eventlog_stuff *es = (struct eventlog_stuff *)estuff;