+2010-06-22 Roland McGrath <roland@redhat.com>
+
+ * dwarf_getsrclines.c: Fix signed comparison warning in extended
+ opcode parsing.
+
2010-06-21 Roland McGrath <roland@redhat.com>
* dwarf.h: Add DW_TAG_GNU_* constants.
goto invalid_data;
/* The length. */
- unsigned int len = *linep++;
+ uint_fast8_t len = *linep++;
- if (unlikely (lineendp - linep < len))
+ if (unlikely ((size_t) (lineendp - linep) < len))
goto invalid_data;
/* The sub-opcode. */
default:
/* Unknown, ignore it. */
- if (unlikely (lineendp - (linep - 1)) < len)
+ if (unlikely ((size_t) (lineendp - (linep - 1)) < len))
goto invalid_data;
linep += len - 1;
break;