mesa: fix signed/unsigned comparison warning
authorBrian Paul <brianp@vmware.com>
Tue, 29 Nov 2011 14:33:47 +0000 (07:33 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 30 Nov 2011 13:57:37 +0000 (06:57 -0700)
src/mesa/main/transformfeedback.c

index b5fb98ecb27998404b3a5341db7a9a0152ee3152..11abd037d5c2332c77f353bba67fcabb58df894f 100644 (file)
@@ -614,7 +614,7 @@ _mesa_TransformFeedbackVaryings(GLuint program, GLsizei count,
 
    if (count < 0 ||
        (bufferMode == GL_SEPARATE_ATTRIBS &&
-        count > ctx->Const.MaxTransformFeedbackSeparateAttribs)) {
+        (GLuint) count > ctx->Const.MaxTransformFeedbackSeparateAttribs)) {
       _mesa_error(ctx, GL_INVALID_VALUE,
                   "glTransformFeedbackVaryings(count=%d)", count);
       return;