1
0
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:
Georgii Rymar 2019-11-11 12:11:54 +03:00
parent ff8ec8be21
commit f867a6ab11

View File

@ -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;
}