mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-28 10:46:11 +00:00
Fix MSVC signed/unsigned comparison warning. NFCI.
llvm-svn: 324171
This commit is contained in:
parent
3e1478f866
commit
3d5ee7aa41
@ -114,7 +114,7 @@ Error DWARFDebugRnglists::extract(DWARFDataExtractor Data,
|
|||||||
"offset 0x%" PRIx32,
|
"offset 0x%" PRIx32,
|
||||||
*OffsetPtr - 1);
|
*OffsetPtr - 1);
|
||||||
case dwarf::DW_RLE_start_end: {
|
case dwarf::DW_RLE_start_end: {
|
||||||
if (End - *OffsetPtr < HeaderData.AddrSize * 2)
|
if ((End - *OffsetPtr) < unsigned(HeaderData.AddrSize * 2))
|
||||||
return createError("insufficient space remaining in table for "
|
return createError("insufficient space remaining in table for "
|
||||||
"DW_RLE_start_end encoding "
|
"DW_RLE_start_end encoding "
|
||||||
"at offset 0x%" PRIx32,
|
"at offset 0x%" PRIx32,
|
||||||
|
Loading…
Reference in New Issue
Block a user