[dsymutil] Add DebugMapObject::lookupObjectAddress()
[oota-llvm.git] / tools / llvm-size / llvm-size.cpp
index fc211e3180b4207a05c982887fa0d128b7dfa171..0e0dd59ce92fcf8b32674e5b301022f889c3cffe 100644 (file)
@@ -709,7 +709,7 @@ int main(int argc, char **argv) {
 
   ToolName = argv[0];
   if (OutputFormatShort.getNumOccurrences())
-    OutputFormat = OutputFormatShort;
+    OutputFormat = static_cast<OutputFormatTy>(OutputFormatShort);
   if (RadixShort.getNumOccurrences())
     Radix = RadixShort;