From 04756bdaf646abc6b75e62bf37f5a674bc6a64c4 Mon Sep 17 00:00:00 2001 From: zawata Date: Mon, 29 Jun 2015 11:32:53 -0700 Subject: Video_Core : Type fixes --- src/video_core/debug_utils/debug_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/debug_utils') diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 8f732242..fc9faffc 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -85,7 +85,7 @@ void GeometryDumper::AddTriangle(Vertex& v0, Vertex& v1, Vertex& v2) { vertices.push_back(v1); vertices.push_back(v2); - int num_vertices = static_cast(vertices.size()); + size_t num_vertices = vertices.size(); faces.push_back({ num_vertices-3, num_vertices-2, num_vertices-1 }); } -- cgit v1.2.3