ams: support building unit test programs on windows/linux/macos

This commit is contained in:
Michael Scire
2022-03-06 12:08:20 -08:00
committed by SciresM
parent 9a38be201a
commit 64a97576d0
756 changed files with 33359 additions and 9372 deletions

View File

@@ -256,7 +256,7 @@ namespace ams::lm::srv {
}
if (is_text_log) {
const size_t sendable_size = std::min(size, remaining);
const size_t sendable_size = std::min<size_t>(size, remaining);
callback(reinterpret_cast<const char *>(cur), sendable_size, arg);
}