mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +01:00
[FixBB] - Fix one more std::min -> std::min<uint64_t> to make BB happy.
BB: http://lab.llvm.org:8011/builders/clang-armv7-linux-build-cache/builds/22133/steps/build%20stage%201/logs/stdio
This commit is contained in:
parent
ff8ec8be21
commit
f867a6ab11
@ -39,7 +39,7 @@ StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *,
|
||||
|
||||
void yaml::BinaryRef::writeAsBinary(raw_ostream &OS, uint64_t N) const {
|
||||
if (!DataIsHexString) {
|
||||
OS.write((const char *)Data.data(), std::min(N, Data.size()));
|
||||
OS.write((const char *)Data.data(), std::min<uint64_t>(N, Data.size()));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user