util: fix MSVC signed/unsigned comparison warning in u_vbuf.c code
authorBrian Paul <brianp@vmware.com>
Wed, 17 Oct 2012 00:32:57 +0000 (18:32 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 17 Oct 2012 16:13:30 +0000 (10:13 -0600)
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/util/u_vbuf.c

index 52db294cbd4b1690db652250fc27c7410033c046..1cc83c3dd39981da369dd66fc407a013dd7da3fa 100644 (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. */