diff options
author | Zachary Turner <zturner@google.com> | 2016-05-03 22:37:12 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-05-03 22:37:12 +0000 |
commit | 097bb7acb3ca70f46b80b02ee5cfcf2dcb17ee77 (patch) | |
tree | 0e642ac745ee7faeea99b5a72f8a407ec1172c63 | |
parent | 50271f787e99a35010ddbaafaa8fe711da5899f8 (diff) | |
download | bcm5719-llvm-097bb7acb3ca70f46b80b02ee5cfcf2dcb17ee77.tar.gz bcm5719-llvm-097bb7acb3ca70f46b80b02ee5cfcf2dcb17ee77.zip |
Fix template type deduction error on some compilers.
llvm-svn: 268458
-rw-r--r-- | llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp | 2 |
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 8fb1d87d14f..0467fdaad43 100644 --- a/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp +++ b/llvm/tools/llvm-pdbdump/llvm-pdbdump.cpp @@ -154,7 +154,7 @@ static void dumpBytes(raw_ostream &S, StringRef Bytes, uint32_t BytesPerRow, S << "["; while (!Bytes.empty()) { - uint32_t BytesThisLine = std::min(Bytes.size(), BytesPerRow); + size_t BytesThisLine = std::min<size_t>(Bytes.size(), BytesPerRow); while (BytesThisLine > 0) { S << format_hex_no_prefix(uint8_t(Bytes.front()), 2, true); Bytes = Bytes.drop_front(); |