Fix a compilation failure on non-MSVC compilers.

llvm-svn: 343952
This commit is contained in:
Zachary Turner 2018-10-08 04:34:41 +00:00
parent 94926a6db8
commit 9f6ac4c264
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ Error CVSymbolDumperImpl::visitKnownRecord(CVSymbol &CVR,
Error CVSymbolDumperImpl::visitKnownRecord(CVSymbol &CVR,
Compile3Sym &Compile3) {
W.printEnum("Language", Compile3.getLanguage(), getSourceLanguageNames());
W.printEnum("Language", uint8_t(Compile3.getLanguage()), getSourceLanguageNames());
W.printFlags("Flags", uint32_t(Compile3.getFlags()),
getCompileSym3FlagNames());
W.printEnum("Machine", unsigned(Compile3.Machine), getCPUTypeNames());