about summary refs log tree commit diff
path: root/Src/Zle/zle_keymap.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-03 15:20:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-03 15:20:18 +0000
commitbc32da6a676139c51bb5e39b70a4400691600abf (patch)
treefed36044fca27665dc39ecadc2c39aa09b18b30f /Src/Zle/zle_keymap.c
parent2c5ea79f1762dcbafca8d08bc5bdb47d75670f03 (diff)
downloadzsh-bc32da6a676139c51bb5e39b70a4400691600abf.tar.gz
zsh-bc32da6a676139c51bb5e39b70a4400691600abf.tar.xz
zsh-bc32da6a676139c51bb5e39b70a4400691600abf.zip
24786: handle read -t properly in zle via getbyte()
Diffstat (limited to 'Src/Zle/zle_keymap.c')
-rw-r--r--Src/Zle/zle_keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index 454e26f16..3c8cc4d9d 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -1363,7 +1363,7 @@ getkeymapcmd(Keymap km, Thingy *funcp, char **strp)
 static int
 getkeybuf(int w)
 {
-    int c = getbyte(w, NULL);
+    int c = getbyte((long)w, NULL);
 
     if(c < 0)
 	return EOF;