summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
index acd453c43e2..62016d2d389 100644
--- a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp
+++ b/llvm/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<uint32_t>(S.Type));
- P.printNumber("Length", S.Length);
+ P.printNumber("Length", static_cast<uint32_t>(S.Length));
P.printBinaryBlock("Bytes", S.Data);
}
}
OpenPOWER on IntegriCloud