about summary refs log tree commit diff
diff options
context:
space:
mode:
-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