about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-01-16 16:24:28 +0000
committerClint Adams <clint@users.sourceforge.net>2005-01-16 16:24:28 +0000
commit7c2424d02224be21bed940af7249060736e8cc83 (patch)
tree40cf732d0ddeb85063d03123f1d566a30d986516 /Src
parent88a37cc187c0f6c5b7130a943c7ddd87474a0f69 (diff)
downloadzsh-7c2424d02224be21bed940af7249060736e8cc83.tar.gz
zsh-7c2424d02224be21bed940af7249060736e8cc83.tar.xz
zsh-7c2424d02224be21bed940af7249060736e8cc83.zip
* 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode stuff.
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_utils.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index d1b10c4b0..611e7414f 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -67,7 +67,7 @@ void
 sizeline(int sz)
 {
     while (sz > linesz)
-	zleline = (unsigned char *)realloc(zleline, (linesz *= 4) + 2);
+	zleline = (ZLE_STRING_T)realloc(zleline, (linesz *= 4) + 2);
 }
 
 /*
@@ -85,11 +85,6 @@ zleaddtoline(int chr)
     zleline[zlecs++] = chr;
 }
 
-/*
-    return zleline;
-    return zleline;
- */
-
 /**/
 mod_export unsigned char *
 zlegetline(int *ll, int *cs)