mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-07 06:40:12 +00:00
Merge pull request #2328 from rohit-n/format
Silence -Wformat warnings in debug builds.
This commit is contained in:
commit
b457c61b3e
@ -301,7 +301,7 @@ int GBASockServer::Receive(u8* si_buffer)
|
|||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
if ((u8)send_data[0] == 0x00 || (u8)send_data[0] == 0xff)
|
if ((u8)send_data[0] == 0x00 || (u8)send_data[0] == 0xff)
|
||||||
{
|
{
|
||||||
WARN_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%d)",
|
WARN_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%lu)",
|
||||||
device_number,
|
device_number,
|
||||||
(u8)recv_data[0], (u8)recv_data[1], (u8)recv_data[2],
|
(u8)recv_data[0], (u8)recv_data[1], (u8)recv_data[2],
|
||||||
(u8)recv_data[3], (u8)recv_data[4],
|
(u8)recv_data[3], (u8)recv_data[4],
|
||||||
@ -309,7 +309,7 @@ int GBASockServer::Receive(u8* si_buffer)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ERROR_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%d)",
|
ERROR_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%lu)",
|
||||||
device_number,
|
device_number,
|
||||||
(u8)recv_data[0], (u8)recv_data[1], (u8)recv_data[2],
|
(u8)recv_data[0], (u8)recv_data[1], (u8)recv_data[2],
|
||||||
(u8)recv_data[3], (u8)recv_data[4],
|
(u8)recv_data[3], (u8)recv_data[4],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user