diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2001-03-05 02:43:27 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2001-03-05 02:43:27 +0000 |
commit | d9fd5aae76841f6eb601ef0f7fd9ae9869355473 (patch) | |
tree | 8096c8bb392fcfb9981860ffa22c0cba8e36b4cc /libiberty | |
parent | d53d7f6e612a61bfabc102466ec4203ac36a338e (diff) | |
download | gcc-d9fd5aae76841f6eb601ef0f7fd9ae9869355473.zip gcc-d9fd5aae76841f6eb601ef0f7fd9ae9869355473.tar.gz gcc-d9fd5aae76841f6eb601ef0f7fd9ae9869355473.tar.bz2 |
* cplus-dem.c (main): Cast enum style to int.
From-SVN: r40242
Diffstat (limited to 'libiberty')
-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 d0ef071..14a06a6 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) { |