diff --git a/plugins/GSdx/GSDrawingContext.cpp b/plugins/GSdx/GSDrawingContext.cpp index ae1f758a9f..6fb066bd36 100644 --- a/plugins/GSdx/GSDrawingContext.cpp +++ b/plugins/GSdx/GSDrawingContext.cpp @@ -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, diff --git a/plugins/GSdx/Renderers/DX11/GSDevice11.cpp b/plugins/GSdx/Renderers/DX11/GSDevice11.cpp index e3f22295d3..fa2d26e8e4 100644 --- a/plugins/GSdx/Renderers/DX11/GSDevice11.cpp +++ b/plugins/GSdx/Renderers/DX11/GSDevice11.cpp @@ -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) {