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 enums from dif...



details:   https://anonhg.NetBSD.org/src/rev/4d42f5fe156c
branches:  trunk
changeset: 322769:4d42f5fe156c
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 084fb94ae79f -r 4d42f5fe156c 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