forked from OSchip/llvm-project
Fix template type deduction error on some compilers.
llvm-svn: 268458
This commit is contained in:
parent
50271f787e
commit
097bb7acb3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue