about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-11-15 08:44:26 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-11-15 08:44:26 +0000
commit0f0d610401c5dd5a62f8a50e5a4a50974175fec2 (patch)
tree75cb35c0fd9169e4d54aa1cfb5440a7545cb606f
parent01875dc4a1fbbe7088d4e0004de082c39f6a6ef1 (diff)
downloadzsh-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.h4
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