From fb46afd5c3bbd98fbfe2cee5b991d6fe65f4ef26 Mon Sep 17 00:00:00 2001 From: Rohit Nirmal Date: Sun, 26 Apr 2015 13:45:06 -0500 Subject: [PATCH] Silence -Wformat warnings in debug builds. --- Source/Core/Core/HW/SI_DeviceGBA.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/SI_DeviceGBA.cpp b/Source/Core/Core/HW/SI_DeviceGBA.cpp index c9c7d92ce0..de471312aa 100644 --- a/Source/Core/Core/HW/SI_DeviceGBA.cpp +++ b/Source/Core/Core/HW/SI_DeviceGBA.cpp @@ -301,7 +301,7 @@ int GBASockServer::Receive(u8* si_buffer) #ifdef _DEBUG 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, (u8)recv_data[0], (u8)recv_data[1], (u8)recv_data[2], (u8)recv_data[3], (u8)recv_data[4], @@ -309,7 +309,7 @@ int GBASockServer::Receive(u8* si_buffer) } else { - ERROR_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%d)", + ERROR_LOG(SERIALINTERFACE, "%01d [< %02x%02x%02x%02x%02x] (%lu)", device_number, (u8)recv_data[0], (u8)recv_data[1], (u8)recv_data[2], (u8)recv_data[3], (u8)recv_data[4],