summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/utils.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 31d0b6b5c..c0d7df130 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-17 Peter Stephenson <pws@csr.com>
+
+ * Christoph Bauer: users/11416: Src/utils.c: bad use
+ of VARRAR confused some compilers.
+
2007-04-17 Geoff Wing <gcw@zsh.org>
* unposted: LICENCE: update year to 2007
diff --git a/Src/utils.c b/Src/utils.c
index 2e4df845a..6041e092b 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -3055,8 +3055,8 @@ wcsitype(wchar_t c, int itype)
if (len == 0) {
/* NULL is special */
return zistype(0, itype);
- } else if (len == 1 && isascii(*outstr)) {
- return zistype(*outstr, itype);
+ } else if (len == 1 && isascii(outstr[0])) {
+ return zistype(outstr[0], itype);
} else {
switch (itype) {
case IIDENT: