diff options
author | Brian Paul <[email protected]> | 2003-11-25 16:21:51 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-25 16:21:51 +0000 |
commit | 2c9f50dd4acc65ddfeb8e3fde98137711167e579 (patch) | |
tree | 2301c8a7bab79709f98e0507f97eab0f15817440 /src/mesa/main/api_validate.c | |
parent | 3bc7f3f864e76e20c644910620f22b23e03547dc (diff) |
casts for g++
Diffstat (limited to 'src/mesa/main/api_validate.c')
-rw-r--r-- | src/mesa/main/api_validate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index f6193aec556..53783b10e13 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; } |