mirror of
https://github.com/SFML/SFML.git
synced 2025-01-18 15:25:12 +08:00
Fix bug in sf::Utf32::count
This commit is contained in:
parent
1a2f566f12
commit
574d8295dd
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user