Partial fix for reg number display in oatdump.
Change-Id: Ia6b5c7e0cd40faae398be93f522d8f6095c4a040
diff --git a/src/dex_instruction.cc b/src/dex_instruction.cc
index 1b7d3bb..d0076da 100644
--- a/src/dex_instruction.cc
+++ b/src/dex_instruction.cc
@@ -370,7 +370,7 @@
case INSTANCE_OF:
if (file != NULL) {
uint32_t type_idx = VRegC_22c();
- os << opcode << " v" << VRegA_22c() << ", v" << VRegB_22c() << ", "
+ os << opcode << " v" << static_cast<int>(VRegA_22c()) << ", v" << static_cast<int>(VRegB_22c()) << ", "
<< PrettyType(type_idx, *file) << " // type@" << type_idx;
break;
}