Fix some harmless compiler warnings

This commit is contained in:
Cameron Gutman 2024-03-26 21:59:39 -05:00
parent 610e07d4bd
commit 9be782ae8e
2 changed files with 2 additions and 2 deletions

View file

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

View file

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