mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
SI_DeviceGBA: Amend printf formatting specifier for size_t
%zu is the correct specifier for printing size_t.
This commit is contained in:
parent
8d2078de2d
commit
deda29d7ff
1 changed files with 2 additions and 2 deletions
|
@ -302,13 +302,13 @@ int GBASockServer::Receive(u8* si_buffer)
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
if ((u8)m_send_data[0] == 0x00 || (u8)m_send_data[0] == 0xff)
|
if ((u8)m_send_data[0] == 0x00 || (u8)m_send_data[0] == 0xff)
|
||||||
{
|
{
|
||||||
WARN_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%lu)",
|
WARN_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%zu)",
|
||||||
m_device_number, (u8)m_recv_data[0], (u8)m_recv_data[1], (u8)m_recv_data[2],
|
m_device_number, (u8)m_recv_data[0], (u8)m_recv_data[1], (u8)m_recv_data[2],
|
||||||
(u8)m_recv_data[3], (u8)m_recv_data[4], num_received);
|
(u8)m_recv_data[3], (u8)m_recv_data[4], num_received);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ERROR_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%lu)",
|
ERROR_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%zu)",
|
||||||
m_device_number, (u8)m_recv_data[0], (u8)m_recv_data[1], (u8)m_recv_data[2],
|
m_device_number, (u8)m_recv_data[0], (u8)m_recv_data[1], (u8)m_recv_data[2],
|
||||||
(u8)m_recv_data[3], (u8)m_recv_data[4], num_received);
|
(u8)m_recv_data[3], (u8)m_recv_data[4], num_received);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue