From: Brian Paul Date: Thu, 30 May 2013 00:07:35 +0000 (-0600) Subject: draw: add cast in debug_printf() to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83aaf61e24d43e5b7ddd07b16aa4d4b460c0b2a9;p=mesa.git draw: add cast in debug_printf() to silence warning --- diff --git a/src/gallium/auxiliary/draw/draw_pt.c b/src/gallium/auxiliary/draw/draw_pt.c index 14dde67b24c..ce36ed09623 100644 --- a/src/gallium/auxiliary/draw/draw_pt.c +++ b/src/gallium/auxiliary/draw/draw_pt.c @@ -529,7 +529,7 @@ draw_vbo(struct draw_context *draw, i, draw->pt.vertex_buffer[i].stride, draw->pt.vertex_buffer[i].buffer_offset, - draw->pt.user.vbuffer[i].size, + (int) draw->pt.user.vbuffer[i].size, draw->pt.user.vbuffer[i].map); } }