From: Zachary Turner Date: Mon, 9 May 2016 18:45:21 +0000 (+0000) Subject: Fix build error with ambiguity of size_t. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2391618ef91d728d11ca39f849e6e6cb5e74e5b9;p=llvm Fix build error with ambiguity of size_t. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268948 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-pdbdump/llvm-pdbdump.cpp b/tools/llvm-pdbdump/llvm-pdbdump.cpp index acd453c43e2..62016d2d389 100644 --- a/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -350,7 +350,7 @@ static Error dumpDbiStream(ScopedPrinter &P, PDBFile &File) { for (auto &S : ModS.symbols()) { DictScope SD(P); P.printHex("Kind", static_cast(S.Type)); - P.printNumber("Length", S.Length); + P.printNumber("Length", static_cast(S.Length)); P.printBinaryBlock("Bytes", S.Data); } }