From deda29d7ffd1e9881a75b68129e1afd89aa9dfa3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 13 Mar 2017 15:28:04 -0400 Subject: [PATCH] SI_DeviceGBA: Amend printf formatting specifier for size_t %zu is the correct specifier for printing size_t. --- Source/Core/Core/HW/SI/SI_DeviceGBA.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp b/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp index 20c58d34f6..44800e75cb 100644 --- a/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp +++ b/Source/Core/Core/HW/SI/SI_DeviceGBA.cpp @@ -302,13 +302,13 @@ int GBASockServer::Receive(u8* si_buffer) #ifdef _DEBUG 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], (u8)m_recv_data[3], (u8)m_recv_data[4], num_received); } 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], (u8)m_recv_data[3], (u8)m_recv_data[4], num_received); }