summaryrefslogtreecommitdiff
path: root/lib/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index f7a36851..8c3e2ddc 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -771,7 +771,7 @@ lookup (const struct message *mes, int key)
* provided otherwise.
*/
const char *
-mes_lookup (struct message *meslist, int max, int index, const char *none)
+mes_lookup (const struct message *meslist, int max, int index, const char *none)
{
int pos = index - meslist[0].key;