mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
Fixed 64-bit warning.
This commit is contained in:
parent
0d76b652a9
commit
e49810bc29
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ void TextMetrics::appendText(FontHandle _fontHandle, const wchar_t* _string)
|
||||||
m_height += m_lineHeight;
|
m_height += m_lineHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (uint32_t ii = 0, end = wcslen(_string); ii < end; ++ii)
|
for (uint32_t ii = 0, end = (uint32_t)wcslen(_string); ii < end; ++ii)
|
||||||
{
|
{
|
||||||
uint32_t codepoint = _string[ii];
|
uint32_t codepoint = _string[ii];
|
||||||
if (m_fontManager->getGlyphInfo(_fontHandle, codepoint, glyph) )
|
if (m_fontManager->getGlyphInfo(_fontHandle, codepoint, glyph) )
|
||||||
|
|
Loading…
Reference in a new issue