about summary refs log tree commit diff
path: root/Src/Zle/zle_misc.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_misc.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_misc.c')
-rw-r--r--Src/Zle/zle_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c
index f4c32e454..6a42f157e 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -619,7 +619,7 @@ universalargument(char **args)
      *
      * Hence for now this remains byte-by-byte.
      */
-    while ((gotk = getbyte(0, NULL)) != EOF) {
+    while ((gotk = getbyte(0L, NULL)) != EOF) {
 	if (gotk == '-' && !digcnt) {
 	    minus = -1;
 	    digcnt++;