summaryrefslogtreecommitdiffstats
path: root/input/keycodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'input/keycodes.c')
-rw-r--r--input/keycodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/keycodes.c b/input/keycodes.c
index 66cb403c23..7d9c9bee55 100644
--- a/input/keycodes.c
+++ b/input/keycodes.c
@@ -283,7 +283,7 @@ char *mp_input_get_key_name(int key)
return dst.start;
}
-char *mp_input_get_key_combo_name(int *keys, int max)
+char *mp_input_get_key_combo_name(const int *keys, int max)
{
bstr dst = {0};
while (max > 0) {