fixing warnings

This commit is contained in:
2021-09-03 19:53:22 +02:00
parent d3f17bc93a
commit 737829cb68
2 changed files with 57 additions and 57 deletions

View File

@@ -130,7 +130,7 @@ Uint16 Text::lenght(std::string text, int kerning)
{
Uint16 shift = 0;
for (int i = 0; i < text.length(); ++i)
for (int i = 0; i < (int)text.length(); ++i)
shift += (mOffset[int(text[i])].w + kerning);
return shift;