From 798d6a9134c25702160678f6ab6a35dea89557ef Mon Sep 17 00:00:00 2001 From: Alessandro Vetere Date: Fri, 4 Aug 2017 19:41:16 +0200 Subject: [PATCH] GSdx GSDevice11: Fix unsigned warning under VS2015 with DEBUG build enabled. --- plugins/GSdx/GSDevice11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GSdx/GSDevice11.cpp b/plugins/GSdx/GSDevice11.cpp index c992a39b81..3f7ce1d435 100644 --- a/plugins/GSdx/GSDevice11.cpp +++ b/plugins/GSdx/GSDevice11.cpp @@ -454,7 +454,7 @@ void GSDevice11::DrawIndexedPrimitive() void GSDevice11::DrawIndexedPrimitive(int offset, int count) { - ASSERT(offset + count <= m_index.count); + ASSERT(offset + count <= (int)m_index.count); m_ctx->DrawIndexed(count, m_index.start + offset, m_vertex.start); }