(view as text)
diff --git a/Source/Core/Core/Src/IOSyncBackends.cpp b/Source/Core/Core/Src/IOSyncBackends.cpp
index e543b5d..5debbc6 100644
--- a/Source/Core/Core/Src/IOSyncBackends.cpp
+++ b/Source/Core/Core/Src/IOSyncBackends.cpp
@@ -303,7 +303,7 @@ void BackendNetPlay::ProcessPacket(Packet&& p)
p.Do(subframe);
if (p.failure)
goto failure;
- WARN_LOG(NETPLAY, "Client: reservation request for subframe %lld; current %lld (%s)", subframe, m_PastSubframeId, subframe > m_PastSubframeId ? "ok" : "too late");
+ WARN_LOG(NETPLAY, "Client: reservation request for subframe %lld; current %lld (%s)", (long long) subframe, (long long) m_PastSubframeId, subframe > m_PastSubframeId ? "ok" : "too late");
if (subframe > m_PastSubframeId)
{
m_ReservedSubframeId = subframe;
@@ -342,7 +342,7 @@ void BackendNetPlay::NewLocalSubframe()
if (m_PastSubframeId == m_ReservedSubframeId)
{
if (!m_HaveClearReservationPacket)
- WARN_LOG(NETPLAY, "Client: blocking on reserved subframe %lld (bad estimate)", m_ReservedSubframeId);
+ WARN_LOG(NETPLAY, "Client: blocking on reserved subframe %lld (bad estimate)", (long long) m_ReservedSubframeId);
while (!m_HaveClearReservationPacket)
{
// Ouch, the server didn't wait long enough and we have to block.
diff --git a/Source/Core/Core/Src/NetPlayServer.cpp b/Source/Core/Core/Src/NetPlayServer.cpp
index fa75993..0d422e9 100644
--- a/Source/Core/Core/Src/NetPlayServer.cpp
+++ b/Source/Core/Core/Src/NetPlayServer.cpp
@@ -756,8 +756,8 @@ void NetPlayServer::AddReservation()
}
// now -> SET_RESERVATION -> RESERVATION_RESULT -> NP_MSG_CLEAR_RESERVATION
// = 3x latency (3/2x ping), hopefully without any clients blocking
- m_reserved_subframe = std::max(m_highest_known_subframe + (highest_ping * 2) * 120 / 1000, 0ll);
- WARN_LOG(NETPLAY, "Reserving frame %llu (hp=%u)", m_reserved_subframe, highest_ping);
+ m_reserved_subframe = std::max(m_highest_known_subframe + (highest_ping * 2) * 120 / 1000, (s64) 0);
+ WARN_LOG(NETPLAY, "Reserving frame %lld (hp=%u)", (long long) m_reserved_subframe, highest_ping);
Packet packet;
packet.W((MessageId)NP_MSG_SET_RESERVATION);
packet.W(m_reserved_subframe);
@@ -801,7 +801,7 @@ void NetPlayServer::CheckReservationResults()
todo();
di.todo.clear();
di.actual_mapping = di.new_mapping;
- WARN_LOG(NETPLAY, "Changing over class %d index %d -> pid %u local %d subframe %lld", c, i, di.new_mapping.first, di.new_mapping.second, di.subframe);
+ WARN_LOG(NETPLAY, "Changing over class %d index %d -> pid %u local %d subframe %lld", c, i, di.new_mapping.first, di.new_mapping.second, (long long) di.subframe);
}
}
}