Add missing uint cast

This commit is contained in:
Kurt 2021-03-08 15:33:52 -08:00
parent e32bfcde2e
commit 4c45aa99af

View file

@ -59,11 +59,11 @@ namespace PKHeX.Core
private static bool IsHiragana(IEnumerable<char> chars)
{
foreach (var ch_0 in chars)
foreach (var c in chars)
{
if ((ch_0 - 0x3041) < 0x53)
if ((uint)(c - 0x3041) < 0x53)
return true;
if ((ch_0 - 0x30A1) < 0x56)
if ((uint)(c - 0x30A1) < 0x56)
return false;
}
return true;