[llvm] r269217 - Fix build breakage in DebugInfoCodeview

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed May 11 10:54:20 PDT 2016


Author: zturner
Date: Wed May 11 12:54:20 2016
New Revision: 269217

URL: http://llvm.org/viewvc/llvm-project?rev=269217&view=rev
Log:
Fix build breakage in DebugInfoCodeview

Modified:
    llvm/trunk/lib/DebugInfo/CodeView/TypeDumper.cpp

Modified: llvm/trunk/lib/DebugInfo/CodeView/TypeDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/CodeView/TypeDumper.cpp?rev=269217&r1=269216&r2=269217&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/CodeView/TypeDumper.cpp (original)
+++ llvm/trunk/lib/DebugInfo/CodeView/TypeDumper.cpp Wed May 11 12:54:20 2016
@@ -520,7 +520,7 @@ void CVTypeDumperImpl::visitUdtSourceLin
 
 void CVTypeDumperImpl::visitBuildInfoRecord(TypeLeafKind Leaf,
                                             BuildInfoRecord &Args) {
-  W.printNumber("NumArgs", Args.getArgs().size());
+  W.printNumber("NumArgs", static_cast<uint32_t>(Args.getArgs().size()));
 
   ListScope Arguments(W, "Arguments");
   for (auto Arg : Args.getArgs()) {




More information about the llvm-commits mailing list