mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 22:27:43 +00:00
Silence warnings, and fix Windows build
This commit is contained in:
@@ -72,7 +72,7 @@ void CStringTable::LoadStringTable(CInputStream &in)
|
||||
|
||||
std::wstring CStringTable::GetString(s32 str) const
|
||||
{
|
||||
if (str < 0 || str >= x0_stringCount)
|
||||
if (str < 0 || u32(str) >= x0_stringCount)
|
||||
return L"Invalid";
|
||||
|
||||
u32 off = *(reinterpret_cast<u32*>(x4_data.get() + str * 4));
|
||||
|
||||
Reference in New Issue
Block a user