GSdx-debug: Do some casts and fix warnings.

This commit is contained in:
Kojin 2018-12-17 15:52:15 +01:00 committed by lightningterror
parent bf0106d2bc
commit 5527bcb13e
2 changed files with 2 additions and 2 deletions

View File

@ -118,7 +118,7 @@ GIFRegTEX0 GSDrawingContext::GetSizeFixedTEX0(int s_n, const GSVector4& st, bool
}
#if defined(_DEBUG) && 1
if(TEX0.TW != tw || TEX0.TH != th)
if((int)TEX0.TW != tw || (int)TEX0.TH != th)
{
printf("%5d:FixedTEX0 %05x %d %d tw %d=>%d th %d=>%d st (%.0f,%.0f,%.0f,%.0f) uvmax %d,%d wm %d,%d (%d,%d,%d,%d)\n",
s_n,

View File

@ -1229,7 +1229,7 @@ void GSDevice11::PSSetShaderResource(int i, GSTexture* sr)
void GSDevice11::PSSetShaderResourceView(int i, ID3D11ShaderResourceView* srv, GSTexture* sr)
{
ASSERT(i < m_state.ps_sr_views.size());
ASSERT(i < (int)m_state.ps_sr_views.size());
if(m_state.ps_sr_views[i] != srv)
{