1
0
forked from 0ad/0ad

Fix compiler warning

This was SVN commit r16849.
This commit is contained in:
Nicolas Auvray 2015-07-12 16:49:26 +00:00
parent f74215e96c
commit 04982b0bf5

View File

@ -79,7 +79,7 @@ void CGUIString::GenerateTextCall(const CGUI* pGUI,
// it's in the end of one word, and the icon
// should really belong to the beginning of the next one
if (_to == to && to >= 1 && to < m_RawString.length())
if (_to == to && to >= 1 && to < (int)m_RawString.length())
{
if (m_RawString[to-1] == ' ' ||
m_RawString[to-1] == '-' ||