From d3405da5c4ba50d0b51bc6879a9c81bd446ca02d Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 5 Feb 2016 18:57:57 +0300 Subject: [PATCH] Fix LLVM build by changing variable to appropriate type --- rpcs3/Emu/RSX/GL/GLGSRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/GL/GLGSRender.cpp b/rpcs3/Emu/RSX/GL/GLGSRender.cpp index 998e1c8943..ce0c669c72 100644 --- a/rpcs3/Emu/RSX/GL/GLGSRender.cpp +++ b/rpcs3/Emu/RSX/GL/GLGSRender.cpp @@ -555,7 +555,7 @@ void GLGSRender::end() { const u32 element_size = rsx::get_vertex_type_size_on_host(vertex_info.type, vertex_info.size); const u32 gl_type = to_gl_internal_type(vertex_info.type, vertex_info.size); - const u32 data_size = vertex_data.size(); + const size_t data_size = vertex_data.size(); auto &buffer = m_gl_attrib_buffers[index].buffer; auto &texture = m_gl_attrib_buffers[index].texture;