r312479 - Fix MSVC narrowing conversion warning.
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 4 03:54:40 PDT 2017
Author: rksimon
Date: Mon Sep 4 03:54:39 2017
New Revision: 312479
URL: http://llvm.org/viewvc/llvm-project?rev=312479&view=rev
Log:
Fix MSVC narrowing conversion warning.
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=312479&r1=312478&r2=312479&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTWriter.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTWriter.cpp Mon Sep 4 03:54:39 2017
@@ -2816,7 +2816,7 @@ void ASTWriter::WriteSubmodules(Module *
RecordData::value_type Record[] = {SUBMODULE_DEFINITION,
ID,
ParentID,
- Mod->Kind,
+ (RecordData::value_type)Mod->Kind,
Mod->IsFramework,
Mod->IsExplicit,
Mod->IsSystem,
More information about the cfe-commits
mailing list