draw: add cast in debug_printf() to silence warning
authorBrian Paul <brianp@vmware.com>
Thu, 30 May 2013 00:07:35 +0000 (18:07 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 30 May 2013 00:07:35 +0000 (18:07 -0600)
src/gallium/auxiliary/draw/draw_pt.c

index 14dde67b24caf242d9d2da29e0aca5221a3a12ef..ce36ed09623c701e510a89e98dc2769c94bc5179 100644 (file)
@@ -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);
       }
    }