mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-12-16 04:08:48 +00:00
GS SW: size_t to int implicit cast warning fixes
This commit is contained in:
parent
e2d3680038
commit
1174ae99c9
@ -1549,7 +1549,7 @@ void GSRasterizerList::Queue(const GSRingHeap::SharedPtr<GSRasterizerData>& data
|
||||
pxAssert(r.top >= 0 && r.top < 2048 && r.bottom >= 0 && r.bottom < 2048);
|
||||
|
||||
int top = r.top >> m_thread_height;
|
||||
int bottom = std::min<int>((r.bottom + (1 << m_thread_height) - 1) >> m_thread_height, top + m_workers.size());
|
||||
int bottom = std::min<int>((r.bottom + (1 << m_thread_height) - 1) >> m_thread_height, top + (int)m_workers.size());
|
||||
|
||||
while (top < bottom)
|
||||
{
|
||||
|
||||
@ -1652,7 +1652,7 @@ void GSRendererSW::SharedData::UpdateSource()
|
||||
|
||||
std::string s;
|
||||
|
||||
for (size_t i = 0; m_tex[i].t; i++)
|
||||
for (u32 i = 0; m_tex[i].t; i++)
|
||||
{
|
||||
const GIFRegTEX0& TEX0 = g_gs_renderer->GetTex0Layer(i);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user