about summary refs log tree commit diff
path: root/Src/Zle/zle.h
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-11-01 03:26:51 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-11-01 03:26:51 +0000
commitee324f449eb777a964649348e80cef979cbf797b (patch)
treee7e6d6df5d4b09db094b2a9dbe1fc4eab28d3bf5 /Src/Zle/zle.h
parent16697055ac20db20a29ecfd6278f0958c669ac00 (diff)
downloadzsh-ee324f449eb777a964649348e80cef979cbf797b.tar.gz
zsh-ee324f449eb777a964649348e80cef979cbf797b.tar.xz
zsh-ee324f449eb777a964649348e80cef979cbf797b.zip
Changed the non-wide version of: ZLE_CHAR_T into a "char" (formerly
an "int"), and ZLE_STRING_T into a "char *" (formerly an "unsigned
char *").
Diffstat (limited to 'Src/Zle/zle.h')
-rw-r--r--Src/Zle/zle.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index be4069285..6c960e595 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -89,14 +89,14 @@ typedef wint_t   ZLE_INT_T;
 
 #else  /* Not MULTIBYTE_SUPPORT: old single-byte code */
 
-typedef int ZLE_CHAR_T;
-typedef unsigned char *ZLE_STRING_T;
+typedef char ZLE_CHAR_T;
+typedef char *ZLE_STRING_T;
 typedef int ZLE_INT_T;
-#define ZLE_CHAR_SIZE	sizeof(unsigned char)
+#define ZLE_CHAR_SIZE	sizeof(ZLE_CHAR_T)
 
 /* Leave character or string as is, but string must be unsigned char * */
 #define ZWC(c)	c
-#define ZWS(s)	(unsigned char *)s
+#define ZWS(s)	(ZLE_STRING_T)s
 
 #define ZLEEOF	EOF