mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #2296 from comex/warning-fixes-99999
Warning fixes 99999
This commit is contained in:
commit
a8142f8d3e
@ -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)
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user