From ba8eee10607a524f43b55a6f33c13924fb16d435 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 24 Jan 2012 20:25:24 -0800 Subject: Remove more lint. Change-Id: I48714db4169d9ea0536342809361210910ee2091 --- src/compiled_method.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiled_method.cc') diff --git a/src/compiled_method.cc b/src/compiled_method.cc index ca7858a82a..ad36bd268e 100644 --- a/src/compiled_method.cc +++ b/src/compiled_method.cc @@ -109,7 +109,7 @@ uint32_t CompiledMethod::AlignCode(uint32_t offset, InstructionSet instruction_s case kX86: return offset; default: - LOG(FATAL) << "Unknown InstructionSet " << (int) instruction_set; + LOG(FATAL) << "Unknown InstructionSet: " << static_cast(instruction_set); return 0; } } @@ -124,7 +124,7 @@ size_t CompiledMethod::CodeDelta() const { return 1; } default: - LOG(FATAL) << "Unknown InstructionSet " << (int) instruction_set_; + LOG(FATAL) << "Unknown InstructionSet: " << static_cast(instruction_set_); return 0; } } @@ -142,7 +142,7 @@ const void* CompiledMethod::CodePointer(const void* code_pointer, return reinterpret_cast(address); } default: - LOG(FATAL) << "Unknown InstructionSet " << (int) instruction_set; + LOG(FATAL) << "Unknown InstructionSet: " << static_cast(instruction_set); return NULL; } } -- cgit v1.2.3-59-g8ed1b