Fix MSVC narrowing conversion warning.

llvm-svn: 312479
This commit is contained in:
Simon Pilgrim 2017-09-04 10:54:39 +00:00
parent 6fb163162e
commit f331a6642b
1 changed files with 1 additions and 1 deletions

View File

@ -2816,7 +2816,7 @@ void ASTWriter::WriteSubmodules(Module *WritingModule) {
RecordData::value_type Record[] = {SUBMODULE_DEFINITION,
ID,
ParentID,
Mod->Kind,
(RecordData::value_type)Mod->Kind,
Mod->IsFramework,
Mod->IsExplicit,
Mod->IsSystem,