From 5fb00bd6c7f8a1c9d7395a056a3a2aa7eb7a6671 Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Thu, 14 Apr 2022 00:47:08 +0200 Subject: [PATCH] GS: Fix some log warnings. --- pcsx2/GS/GSRingHeap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/GS/GSRingHeap.cpp b/pcsx2/GS/GSRingHeap.cpp index 58b333e339..898ee3d778 100644 --- a/pcsx2/GS/GSRingHeap.cpp +++ b/pcsx2/GS/GSRingHeap.cpp @@ -218,7 +218,7 @@ void* GSRingHeap::alloc_internal(size_t size, size_t align_mask, size_t prefix_s size_t used = m_current_buffer->m_amt_allocated.load(std::memory_order_relaxed) - 1; if (used * 4 < total) { - fprintf(stderr, "GSRingHeap: Orphaning %dmb buffer with low usage of %d%%, check that allocations are actually being deallocated approximately in order\n", total / mb, static_cast((used * 100) / total)); + fprintf(stderr, "GSRingHeap: Orphaning %zdmb buffer with low usage of %d%%, check that allocations are actually being deallocated approximately in order\n", total / mb, static_cast((used * 100) / total)); } } }