r301285 - Placate MSVC's narrowing conversion unhappiness.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 24 17:40:40 PDT 2017
Author: rsmith
Date: Mon Apr 24 19:40:40 2017
New Revision: 301285
URL: http://llvm.org/viewvc/llvm-project?rev=301285&view=rev
Log:
Placate MSVC's narrowing conversion unhappiness.
Modified:
cfe/trunk/lib/Serialization/ASTWriter.cpp
Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTWriter.cpp?rev=301285&r1=301284&r2=301285&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTWriter.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTWriter.cpp Mon Apr 24 19:40:40 2017
@@ -2697,7 +2697,7 @@ void ASTWriter::WriteSubmodules(Module *
RecordData::value_type Record[] = {
getNumberOfModules(WritingModule),
FirstSubmoduleID - NUM_PREDEF_SUBMODULE_IDS,
- WritingModule->Kind};
+ (unsigned)WritingModule->Kind};
Stream.EmitRecord(SUBMODULE_METADATA, Record);
// Write all of the submodules.
More information about the cfe-commits
mailing list