stratosphere: fix building with latest libnx

This commit is contained in:
Michael Scire
2020-03-18 00:14:26 -07:00
parent 4759c2f92c
commit 067fe2d10f
9 changed files with 11 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ namespace ams::os::impl{
WaitableHolderBase *objects[MaximumHandleCount];
const size_t count = this->BuildHandleArray(object_handles, objects);
const u64 end_time = infinite ? U64_MAX : armTicksToNs(armGetSystemTick());
const u64 end_time = infinite ? std::numeric_limits<u64>::max() : armTicksToNs(armGetSystemTick());
while (true) {
this->current_time = armTicksToNs(armGetSystemTick());