diff --git a/Source/Core/Common/TraversalServer.cpp b/Source/Core/Common/TraversalServer.cpp index 097d812ddd..6631b6359a 100644 --- a/Source/Core/Common/TraversalServer.cpp +++ b/Source/Core/Common/TraversalServer.cpp @@ -201,7 +201,8 @@ static const char* SenderName(sockaddr_in6* addr) static void TrySend(const void* buffer, size_t size, sockaddr_in6* addr) { #if DEBUG - printf("-> %d %lu %s\n", ((TraversalPacket*) buffer)->type, ((TraversalPacket*) buffer)->requestId, SenderName(addr)); + printf("-> %d %llu %s\n", ((TraversalPacket*) buffer)->type, + (long long)((TraversalPacket*) buffer)->requestId, SenderName(addr)); #endif if ((size_t) sendto(sock, buffer, size, 0, (sockaddr*) addr, sizeof(*addr)) != size) { @@ -270,7 +271,7 @@ static void ResendPackets() static void HandlePacket(TraversalPacket* packet, sockaddr_in6* addr) { #if DEBUG - printf("<- %d %lu %s\n", packet->type, packet->requestId, SenderName(addr)); + printf("<- %d %llu %s\n", packet->type, (long long)packet->requestId, SenderName(addr)); #endif bool packetOk = true; switch (packet->type) diff --git a/Source/Core/DolphinWX/Config/WiiConfigPane.h b/Source/Core/DolphinWX/Config/WiiConfigPane.h index b7ab61b5a4..72ea81548a 100644 --- a/Source/Core/DolphinWX/Config/WiiConfigPane.h +++ b/Source/Core/DolphinWX/Config/WiiConfigPane.h @@ -40,5 +40,4 @@ private: wxCheckBox* m_connect_keyboard_checkbox; wxChoice* m_system_language_choice; wxChoice* m_aspect_ratio_choice; - wxChoice* m_sensor_bar_position_choice; };