Fix a shitload of warnings in 64 bits mode
Former-commit-id: 5bc0c622c20eae45df51bb1ee62e5ed566e58a1b [formerly a8befbed30cb897ce876fd3b46a3585e1b70613e] Former-commit-id: 999225e414c0d6a3e9c6868f040b68045b2ba724
This commit is contained in:
@@ -127,7 +127,7 @@ namespace Nz
|
||||
return m_atlas;
|
||||
}
|
||||
|
||||
unsigned int Font::GetCachedGlyphCount(unsigned int characterSize, UInt32 style) const
|
||||
std::size_t Font::GetCachedGlyphCount(unsigned int characterSize, UInt32 style) const
|
||||
{
|
||||
UInt64 key = ComputeKey(characterSize, style);
|
||||
auto it = m_glyphes.find(key);
|
||||
@@ -137,9 +137,9 @@ namespace Nz
|
||||
return it->second.size();
|
||||
}
|
||||
|
||||
unsigned int Font::GetCachedGlyphCount() const
|
||||
std::size_t Font::GetCachedGlyphCount() const
|
||||
{
|
||||
unsigned int count = 0;
|
||||
std::size_t count = 0;
|
||||
for (auto& pair : m_glyphes)
|
||||
count += pair.second.size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user