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>2005-07-28 14:45:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-07-28 14:45:32 +0000
commit8665549030043b6eee46f60d52c57e8519372286 (patch)
tree8f2e50a6f567d9294e754f2569bec7b319ae8316 /Src/Zle/zle_misc.c
parenta680faf0502063ae7488b20a95d3d82f49a12120 (diff)
downloadzsh-8665549030043b6eee46f60d52c57e8519372286.tar.gz
zsh-8665549030043b6eee46f60d52c57e8519372286.tar.xz
zsh-8665549030043b6eee46f60d52c57e8519372286.zip
21541: remove some warnings from ZLE_UNICODE_SUPPORT
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 022d98e64..44bc611d5 100644
--- a/Src/Zle/zle_misc.c
+++ b/Src/Zle/zle_misc.c
@@ -724,7 +724,7 @@ makequote(ZLE_STRING_T str, size_t *len)
 	if (*l == ZWC('\''))
 	    qtct++;
     *len += 2 + qtct*3;
-    l = ol = (char *)zhalloc(*len * ZLE_CHAR_SIZE);
+    l = ol = (ZLE_STRING_T)zhalloc(*len * ZLE_CHAR_SIZE);
     *l++ = ZWC('\'');
     for (; str < end; str++)
 	if (*str == ZWC('\'')) {