Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / unix / uxcons.c
index 4877089..80ed246 100644 (file)
@@ -258,7 +258,7 @@ void old_keyfile_warning(void)
     fputs(message, stderr);
 }
 
-void logevent(void *frontend, char *string)
+void logevent(void *frontend, const char *string)
 {
     log_eventlog(logctx, string);
 }