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

@ -418,7 +418,7 @@ namespace ams::fatal::srv {
Result ShowFatalTask::Run() {
/* Don't show the fatal error screen until we've verified the battery is okay. */
eventWait(const_cast<Event *>(&this->context->battery_event), U64_MAX);
eventWait(const_cast<Event *>(&this->context->battery_event), std::numeric_limits<u64>::max());
return ShowFatal();
}