From: Karl Schultz Date: Thu, 15 Jan 2004 15:43:07 +0000 (+0000) Subject: add casts to quiet compiler warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46d6bd368d343a40eaa98a0583b524b982e9421f;p=mesa.git add casts to quiet compiler warnings --- diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c index e4f90756c53..f83176eb26d 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;