From 2c9f50dd4acc65ddfeb8e3fde98137711167e579 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Nov 2003 16:21:51 +0000 Subject: casts for g++ --- src/mesa/main/api_validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/api_validate.c') diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index f6193aec55..53783b10e1 100644 --- a/src/mesa/main/api_validate.c +++ b/src/mesa/main/api_validate.c @@ -195,7 +195,7 @@ _mesa_validate_DrawArrays(GLcontext *ctx, return GL_FALSE; if (ctx->Const.CheckArrayBounds) { - if (start + count > ctx->Array._MaxElement) + if (start + count > (GLint) ctx->Array._MaxElement) return GL_FALSE; } -- cgit v1.2.3