diff options
author | Wayne Davison <wayned@users.sourceforge.net> | 2005-11-15 08:44:26 +0000 |
---|---|---|
committer | Wayne Davison <wayned@users.sourceforge.net> | 2005-11-15 08:44:26 +0000 |
commit | 0f0d610401c5dd5a62f8a50e5a4a50974175fec2 (patch) | |
tree | 75cb35c0fd9169e4d54aa1cfb5440a7545cb606f | |
parent | 01875dc4a1fbbe7088d4e0004de082c39f6a6ef1 (diff) | |
download | zsh-0f0d610401c5dd5a62f8a50e5a4a50974175fec2.tar.gz zsh-0f0d610401c5dd5a62f8a50e5a4a50974175fec2.tar.xz zsh-0f0d610401c5dd5a62f8a50e5a4a50974175fec2.zip |
The non-multibyte version of ZWS() doesn't need to force a cast anymore.
-rw-r--r-- | Src/Zle/zle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h index 59e790542..c47efae9a 100644 --- a/Src/Zle/zle.h +++ b/Src/Zle/zle.h @@ -94,9 +94,9 @@ typedef char *ZLE_STRING_T; typedef int ZLE_INT_T; #define ZLE_CHAR_SIZE sizeof(ZLE_CHAR_T) -/* Leave character or string as is, but string must be unsigned char * */ +/* Leave character or string as is. */ #define ZWC(c) c -#define ZWS(s) (ZLE_STRING_T)s +#define ZWS(s) s #define ZLEEOF EOF |