diff --git a/src/uifc/uifc32.c b/src/uifc/uifc32.c
index d4a1ef25ca8007b2034a9e7e8e06e1d947a81448..9d94d76ada68e8a0631878ae2c375539c7b8d12c 100644
--- a/src/uifc/uifc32.c
+++ b/src/uifc/uifc32.c
@@ -2690,7 +2690,7 @@ void sethelp(int line, char* file)
 /****************************************************************************/
 /* Shows a scrollable text buffer - optionally parsing "help markup codes"	*/
 /****************************************************************************/
-void showbuf(int mode, int left, int top, int width, int height, char *title, char *hbuf, int *curp, int *barp)
+void showbuf(int mode, int left, int top, int width, int height, const char *title, char *hbuf, int *curp, int *barp)
 {
 	char inverse=0,high=0;
 	struct vmem_cell *textbuf;