From ee324f449eb777a964649348e80cef979cbf797b Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 1 Nov 2005 03:26:51 +0000 Subject: 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 *"). --- Src/Zle/zle.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Src') 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 -- cgit 1.4.1