From 2f9e34d13312dbf705f7e1316ca364be13640e6c Mon Sep 17 00:00:00 2001 From: atmz Date: Wed, 13 Oct 2021 02:58:57 -0700 Subject: [PATCH] Add const to scanline to resolve clang compile issue (#706) Co-authored-by: Alex Toumazis --- src/tools/hunspell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/hunspell.cxx b/src/tools/hunspell.cxx index 93468f34b..46dd2b6a7 100644 --- a/src/tools/hunspell.cxx +++ b/src/tools/hunspell.cxx @@ -579,7 +579,7 @@ const char* basename(const char* s, char c) { } #ifdef HAVE_CURSES_H -char* scanline(char* message) { +char* scanline(const char* message) { char input[INPUTLEN]; printw(message); echo();