1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-04 17:00:23 +02:00

Fix some (MSVC) compiler warnings

This commit is contained in:
Lars Mueller
2025-04-04 17:09:12 +02:00
committed by Lars Müller
parent 695d526764
commit e1143783e5
8 changed files with 13 additions and 15 deletions

View File

@ -320,7 +320,7 @@ void TestUtilities::testUTF8()
// try to check that the conversion function does not accidentally keep
// its internal state across invocations.
// \xC4\x81 is UTF-8 for \u0101
utf8_to_wide("\xC4");
static_cast<void>(utf8_to_wide("\xC4"));
UASSERT(utf8_to_wide("\x81") != L"\u0101");
}