From 9be782ae8e6ead0fc6a4add28bc2a5a6836a2281 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 26 Mar 2024 21:59:39 -0500 Subject: [PATCH] Fix some harmless compiler warnings --- app/backend/computermanager.cpp | 2 +- app/streaming/input/keyboard.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);