about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/zle_utils.c7
2 files changed, 6 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 4c3e287dd..3077e8f17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-16  Clint Adams  <clint@zsh.org>
+
+	* 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode
+	stuff.
+
 2005-01-14  Peter Stephenson  <pws@csr.com>
 
 	* unposted: update version to 4.2.3-dev-1.
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)