Annotate mixing of enums from different types with an explicit cast.
This commit is contained in:
parent
da40fa177a
commit
28f297b902
4
external/gpl3/gdb/dist/gdb/dwarf2read.c
vendored
4
external/gpl3/gdb/dist/gdb/dwarf2read.c
vendored
@ -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 *cu, unsigned int offset,
|
||||
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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user