Fix some harmless compiler warnings
This commit is contained in:
parent
610e07d4bd
commit
9be782ae8e
2 changed files with 2 additions and 2 deletions
|
|
@ -785,7 +785,7 @@ private:
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
if (!m_Mdns) {
|
if (!m_Mdns) {
|
||||||
StreamingPreferences prefs;
|
StreamingPreferences prefs;
|
||||||
int portTestResult;
|
unsigned int portTestResult;
|
||||||
|
|
||||||
if (prefs.detectNetworkBlocking) {
|
if (prefs.detectNetworkBlocking) {
|
||||||
// We failed to connect to the specified PC. Let's test to make sure this network
|
// We failed to connect to the specified PC. Let's test to make sure this network
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ void SdlInputHandler::performSpecialKeyCombo(KeyCombo combo)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send this text to the PC
|
// Send this text to the PC
|
||||||
LiSendUtf8TextEvent(text, strlen(text));
|
LiSendUtf8TextEvent(text, (unsigned int)strlen(text));
|
||||||
|
|
||||||
// SDL_GetClipboardText() allocates, so we must free
|
// SDL_GetClipboardText() allocates, so we must free
|
||||||
SDL_free((void*)text);
|
SDL_free((void*)text);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue