This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Enum fix to cplus-dem.c for gcc build with native cc on vax ultrix
- To: gcc-patches at gcc dot gnu dot org
- Subject: Enum fix to cplus-dem.c for gcc build with native cc on vax ultrix
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Thu, 1 Mar 2001 15:40:57 -0500 (EST)
Please review.
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2001-02-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
* cplus-dem.c (main): Cast enum style to int.
--- cplus-dem.c.orig Sun Feb 18 14:06:37 2001
+++ cplus-dem.c Wed Feb 21 21:38:12 2001
@@ -5148,7 +5148,7 @@
skip_first = i;
mbuffer[i] = 0;
- flags |= style;
+ flags |= (int) style;
result = cplus_demangle (mbuffer + skip_first, flags);
if (result)
{