From 25bb07b80e026f2d1e2a7656a6a29ca9b3686b0e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 17 Apr 2007 11:59:38 +0000 Subject: Christoph Bauer: users/11416: bad use of VARARR() --- ChangeLog | 5 +++++ Src/utils.c | 4 ++-- 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 + + * Christoph Bauer: users/11416: Src/utils.c: bad use + of VARRAR confused some compilers. + 2007-04-17 Geoff Wing * 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: -- cgit 1.4.1