diff --git a/app/backend/computermanager.cpp b/app/backend/computermanager.cpp index 185a4598..1400f60c 100644 --- a/app/backend/computermanager.cpp +++ b/app/backend/computermanager.cpp @@ -785,7 +785,7 @@ private: } catch (...) { if (!m_Mdns) { StreamingPreferences prefs; - int portTestResult; + unsigned int portTestResult; if (prefs.detectNetworkBlocking) { // We failed to connect to the specified PC. Let's test to make sure this network diff --git a/app/streaming/input/keyboard.cpp b/app/streaming/input/keyboard.cpp index 5c6983cf..a501cdb6 100644 --- a/app/streaming/input/keyboard.cpp +++ b/app/streaming/input/keyboard.cpp @@ -114,7 +114,7 @@ void SdlInputHandler::performSpecialKeyCombo(KeyCombo combo) } // Send this text to the PC - LiSendUtf8TextEvent(text, strlen(text)); + LiSendUtf8TextEvent(text, (unsigned int)strlen(text)); // SDL_GetClipboardText() allocates, so we must free SDL_free((void*)text);