dmuratshin 8 lat temu
rodzic
commit
7ccb025734

+ 1 - 1
oxygine/src/oxygine/InputText.cpp

@@ -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);
 
 

+ 1 - 1
oxygine/src/oxygine/core/curl/HttpRequestCurlTask.cpp

@@ -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;