Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb Annotate mixing of e...



details:   https://anonhg.NetBSD.org/src/rev/34cbb435d214
branches:  trunk
changeset: 319098:34cbb435d214
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed May 16 13:54:48 2018 +0000

description:
Annotate mixing of enums from different types with an explicit cast.

diffstat:

 external/gpl3/gdb/dist/gdb/dwarf2read.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9c80651301c8 -r 34cbb435d214 external/gpl3/gdb/dist/gdb/dwarf2read.c
--- a/external/gpl3/gdb/dist/gdb/dwarf2read.c   Wed May 16 13:54:03 2018 +0000
+++ b/external/gpl3/gdb/dist/gdb/dwarf2read.c   Wed May 16 13:54:48 2018 +0000
@@ -22159,7 +22159,7 @@
          }
          break;
 
-        case DW_MACINFO_vendor_ext:
+        case (int)DW_MACINFO_vendor_ext:
          if (!section_is_gnu)
            {
              unsigned int bytes_read;
@@ -22336,7 +22336,7 @@
          mac_ptr += offset_size;
          break;
 
-       case DW_MACINFO_vendor_ext:
+       case (int)DW_MACINFO_vendor_ext:
          /* Only skip the data by MAC_PTR.  */
          if (!section_is_gnu)
            {



Home | Main Index | Thread Index | Old Index