summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-05 02:43:27 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-05 02:43:27 +0000
commit163369e7f70460f26eabdff4ba9397d75f90f288 (patch)
tree8096c8bb392fcfb9981860ffa22c0cba8e36b4cc
parent0d994a354e3c2367af31d4f39fa82aa839250d99 (diff)
downloadgcc-163369e7f70460f26eabdff4ba9397d75f90f288.tar.gz
* cplus-dem.c (main): Cast enum style to int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40242 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index d0ef071807c..14a06a6a921 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * cplus-dem.c (main): Cast enum style to int.
+
2001-02-16 Loren J. Rittle <ljrittle@acm.org>
* cplus-dem.c (main): Initialize style.
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 1d2a4756606..6133e6e1d40 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -5148,7 +5148,7 @@ main (argc, argv)
skip_first = i;
mbuffer[i] = 0;
- flags |= style;
+ flags |= (int) style;
result = cplus_demangle (mbuffer + skip_first, flags);
if (result)
{