Fix bug in sf::Utf32::count

This commit is contained in:
Chris Thrasher 2024-11-26 13:21:24 -07:00
parent 1a2f566f12
commit 574d8295dd

View File

@ -557,7 +557,7 @@ In Utf<32>::next(In begin, In /*end*/)
template <typename In>
std::size_t Utf<32>::count(In begin, In end)
{
return begin - end;
return static_cast<std::size_t>(end - begin);
}