@@ -117,7 +117,7 @@ namespace oxygine
void InputText::updateText()
{
_textActor->setText(_txt);
- float x = _textActor->getTextRect().getRight();
+ float x = static_cast<float>(_textActor->getTextRect().getRight());
_cursor->setX(x);
@@ -175,7 +175,7 @@ namespace oxygine
return s;
char buff[512];
- int i = 0;
+ size_t i = 0;
for (; i < s; ++i)
buff[i] = tolower(d[i]);
buff[i] = 0;