[Mesa-dev] [PATCH 4/8] util: fix MSVC signed/unsigned comparison warning in u_vbuf.c code

Brian Paul brian.e.paul at gmail.com
Tue Oct 16 17:35:25 PDT 2012


From: Brian Paul <brianp at vmware.com>

---
 src/gallium/auxiliary/util/u_vbuf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_vbuf.c b/src/gallium/auxiliary/util/u_vbuf.c
index 52db294..1cc83c3 100644
--- a/src/gallium/auxiliary/util/u_vbuf.c
+++ b/src/gallium/auxiliary/util/u_vbuf.c
@@ -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. */
-- 
1.7.4.1



More information about the mesa-dev mailing list