summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/zle_keymap.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index be4874c27..c7444164b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-12 Peter Stephenson <p.w.stephenson@ntlworld.com>
+
+ * Kamil Dudka: 36106: Src/Zle/zle_keymap.c: fix const parameter.
+
2015-08-12 Oliver Kiddle <opk@zsh.org>
* 36127: Completion/Zsh/Context/_brace_parameter,
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index c16e32e1b..5b4189faa 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -540,7 +540,7 @@ reselectkeymap(void)
/**/
mod_export int
-bindkey(Keymap km, char *seq, Thingy bind, char *str)
+bindkey(Keymap km, const char *seq, Thingy bind, char *str)
{
Key k;
int f = seq[0] == Meta ? STOUC(seq[1])^32 : STOUC(seq[0]);