GS: Fix format string arguments warning.

%i in format string (no. 1) requires 'int' but the argument type is Unknown.

Codacy.
This commit is contained in:
lightningterror 2023-12-08 13:35:51 +01:00
parent 47545e511d
commit 2b68c5e383
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,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 %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));
fprintf(stderr, "GSRingHeap: Orphaning %zumb 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));
}
}
}