From: Brian Paul Date: Tue, 29 Nov 2011 14:33:47 +0000 (-0700) Subject: mesa: fix signed/unsigned comparison warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c67d9cfd9d5d04b5b32170616f75b34e0192304b;p=mesa.git mesa: fix signed/unsigned comparison warning --- diff --git a/src/mesa/main/transformfeedback.c b/src/mesa/main/transformfeedback.c index b5fb98ecb27..11abd037d5c 100644 --- a/src/mesa/main/transformfeedback.c +++ b/src/mesa/main/transformfeedback.c @@ -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;