MC: Use MachO::SectionType for MCSectionMachO::getType's return type
[oota-llvm.git] / lib / MC / MCSectionMachO.cpp
index b8e5142299807f859c952eb2be709afc1fe0e3bd..29829463c18ff18cc09c015685979e52fc0e0a2e 100644 (file)
@@ -102,7 +102,7 @@ void MCSectionMachO::PrintSwitchToSection(const MCAsmInfo &MAI,
     return;
   }
 
-  unsigned SectionType = getType();
+  MachO::SectionType SectionType = getType();
   assert(SectionType <= MachO::LAST_KNOWN_SECTION_TYPE &&
          "Invalid SectionType specified!");