From 46d6bd368d343a40eaa98a0583b524b982e9421f Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Thu, 15 Jan 2004 15:43:07 +0000 Subject: add casts to quiet compiler warnings --- src/mesa/tnl/t_array_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_array_api.c') diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c index e4f90756c5..f83176eb26 100644 --- a/src/mesa/tnl/t_array_api.c +++ b/src/mesa/tnl/t_array_api.c @@ -152,8 +152,8 @@ _tnl_DrawArrays(GLenum mode, GLint start, GLsizei count) */ fallback_drawarrays( ctx, mode, start, start + count ); } - else if (start >= ctx->Array.LockFirst && - start + count <= ctx->Array.LockFirst + ctx->Array.LockCount) { + else if (start >= (GLint) ctx->Array.LockFirst && + start + count <= (GLint)(ctx->Array.LockFirst + ctx->Array.LockCount)) { struct tnl_prim prim; -- cgit v1.2.3