Colin's const-fixing Patch Of Death. Seems to build fine on Windows
[u/mdw/putty] / console.c
index 90b5fa4..fe20134 100644 (file)
--- a/console.c
+++ b/console.c
@@ -270,7 +270,7 @@ void console_provide_logctx(void *logctx)
     console_logctx = logctx;
 }
 
-void logevent(void *frontend, char *string)
+void logevent(void *frontend, const char *string)
 {
     if (console_logctx)
        log_eventlog(console_logctx, string);