[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GAWK 3.1.1 warning fix
From: |
Andreas Schwab |
Subject: |
GAWK 3.1.1 warning fix |
Date: |
Fri, 10 May 2002 14:02:26 +0200 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (ia64-suse-linux) |
This fixes a warning while building gawk: work_mbs->char and
work_mbs->ch_classes are not assignment compatible since wchar_t and
wctype_t are different types.
Andreas.
2002-05-10 Andreas Schwab <address@hidden>
* dfa.c (parse_bracket_exp_mb): Fix warning.
--- dfa.c.~1~ Mon Jan 28 17:41:55 2002
+++ dfa.c Mon Jan 28 17:42:18 2002
@@ -513,7 +513,8 @@
work_mbc->nchars = work_mbc->nranges = work_mbc->nch_classes = 0;
work_mbc->nequivs = work_mbc->ncoll_elems = 0;
- work_mbc->chars = work_mbc->ch_classes = NULL;
+ work_mbc->chars = NULL;
+ work_mbc->ch_classes = NULL;
work_mbc->range_sts = work_mbc->range_ends = NULL;
work_mbc->equivs = work_mbc->coll_elems = NULL;
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- GAWK 3.1.1 warning fix,
Andreas Schwab <=