Module Name:    src
Committed By:   joerg
Date:           Wed May 16 13:54:48 UTC 2018

Modified Files:
        src/external/gpl3/gdb/dist/gdb: dwarf2read.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.7 -r1.2 src/external/gpl3/gdb/dist/gdb/dwarf2read.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/dwarf2read.c
diff -u src/external/gpl3/gdb/dist/gdb/dwarf2read.c:1.1.1.7 src/external/gpl3/gdb/dist/gdb/dwarf2read.c:1.2
--- src/external/gpl3/gdb/dist/gdb/dwarf2read.c:1.1.1.7	Tue Nov 28 18:18:12 2017
+++ src/external/gpl3/gdb/dist/gdb/dwarf2read.c	Wed May 16 13:54:48 2018
@@ -22159,7 +22159,7 @@ dwarf_decode_macro_bytes (bfd *abfd,
 	  }
 	  break;
 
-        case DW_MACINFO_vendor_ext:
+        case (int)DW_MACINFO_vendor_ext:
 	  if (!section_is_gnu)
 	    {
 	      unsigned int bytes_read;
@@ -22336,7 +22336,7 @@ dwarf_decode_macros (struct dwarf2_cu *c
 	  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)
 	    {

Reply via email to