summary refs log tree commit diff
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2015-08-11 17:48:57 +0200
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-08-12 20:08:58 +0100
commit51d2c663414a5bacd70404a592572560a1021bcb (patch)
tree259e71b3c3f33e7712a9708653fd567c7c09ef37
parentcf77e28a3fe46035faf6c1815cb7dbc92207e5f4 (diff)
downloadzsh-51d2c663414a5bacd70404a592572560a1021bcb.tar.gz
zsh-51d2c663414a5bacd70404a592572560a1021bcb.tar.xz
zsh-51d2c663414a5bacd70404a592572560a1021bcb.zip
36106: fix const parameter to bindkey
-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]);