Use range loops. NFC.
[oota-llvm.git] / tools / llvm-readobj / ARMAttributeParser.cpp
index d35cd14265fb147db97703c93768c0eb73cb3f13..e2d71912a21ecaba8867e6da086dc14e85ace5d1 100644 (file)
@@ -141,7 +141,7 @@ void ARMAttributeParser::CPU_arch_profile(AttrType Tag, const uint8_t *Data,
   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);