Misc: Android build fix

This commit is contained in:
Stenzek 2024-11-30 01:05:17 +10:00
parent b7fff840c8
commit 0f51472d64
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ void Log::DebugOutputLogCallback(void* pUserParam, MessageCategory cat, const ch
if (message.empty())
return;
static constexpr int logPriority[static_cast<size_t>(Level::Count)] = {
static constexpr int logPriority[static_cast<size_t>(Level::MaxCount)] = {
ANDROID_LOG_INFO, // None
ANDROID_LOG_ERROR, // Error
ANDROID_LOG_WARN, // Warning