util: fix MSVC signed/unsigned comparison warning in u_vbuf.c code

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
Brian Paul 2012-10-16 18:32:57 -06:00
parent a0785544e3
commit ba7bfdeff2

View file

@ -98,7 +98,7 @@ struct u_vbuf {
/* Vertex buffers for the driver.
* There are no user buffers. */
struct pipe_vertex_buffer real_vertex_buffer[PIPE_MAX_ATTRIBS];
int nr_real_vertex_buffers;
unsigned nr_real_vertex_buffers;
boolean vertex_buffers_dirty;
/* The index buffer. */