Remove more lint.
Change-Id: I48714db4169d9ea0536342809361210910ee2091
diff --git a/src/compiled_method.cc b/src/compiled_method.cc
index ca7858a..ad36bd2 100644
--- a/src/compiled_method.cc
+++ b/src/compiled_method.cc
@@ -109,7 +109,7 @@
case kX86:
return offset;
default:
- LOG(FATAL) << "Unknown InstructionSet " << (int) instruction_set;
+ LOG(FATAL) << "Unknown InstructionSet: " << static_cast<int>(instruction_set);
return 0;
}
}
@@ -124,7 +124,7 @@
return 1;
}
default:
- LOG(FATAL) << "Unknown InstructionSet " << (int) instruction_set_;
+ LOG(FATAL) << "Unknown InstructionSet: " << static_cast<int>(instruction_set_);
return 0;
}
}
@@ -142,7 +142,7 @@
return reinterpret_cast<const void*>(address);
}
default:
- LOG(FATAL) << "Unknown InstructionSet " << (int) instruction_set;
+ LOG(FATAL) << "Unknown InstructionSet: " << static_cast<int>(instruction_set);
return NULL;
}
}