summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-03-05 19:42:04 +0000
committerDJ Delorie <dj@delorie.com>2001-03-05 19:42:04 +0000
commit6ec1223fe9a7874faf3c65d02bb42b73f0314002 (patch)
tree749c90280ca83038de4cffede7aebf79f1c5ab1a /libiberty
parent205005ef401e7db99b4a06e1bc25626505bce546 (diff)
downloadgdb-6ec1223fe9a7874faf3c65d02bb42b73f0314002.tar.gz
merge from gcc
Diffstat (limited to 'libiberty')
-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 3f7c77faac3..f8988392db2 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)
{