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:
committed by
Lars Müller
parent
695d526764
commit
e1143783e5
@ -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");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user