GS: Fix some log warnings.

This commit is contained in:
lightningterror 2022-04-14 00:47:08 +02:00
parent fdabc82342
commit 5fb00bd6c7
1 changed files with 1 additions and 1 deletions

View File

@ -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<int>((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<int>((used * 100) / total));
}
}
}