diff options
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/cplus-dem.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 3f7c77f..f898839 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 1d2a475..6133e6e 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) { |