mirror of https://github.com/axmolengine/axmol.git
issue #4660: A warning fix in CCFontAtlas.cpp
This commit is contained in:
parent
07204a0602
commit
3a30adde0f
|
@ -240,7 +240,7 @@ bool FontAtlas::prepareLetterDefinitions(const std::u16string& utf16String)
|
|||
|
||||
float startY = _currentPageOrigY;
|
||||
|
||||
for (int i = 0; i < length; ++i)
|
||||
for (size_t i = 0; i < length; ++i)
|
||||
{
|
||||
auto outIterator = _fontLetterDefinitions.find(utf16String[i]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue