Index: tools/llvm-readobj/ARMAttributeParser.cpp =================================================================== --- tools/llvm-readobj/ARMAttributeParser.cpp +++ tools/llvm-readobj/ARMAttributeParser.cpp @@ -141,7 +141,7 @@ case 'R': Profile = "Real-time"; break; case 'M': Profile = "Microcontroller"; break; case 'S': Profile = "Classic"; break; - case '0': Profile = "None"; break; + case 0: Profile = "None"; break; } PrintAttribute(Tag, Encoded, Profile);