summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2004-01-15 15:43:07 +0000
committerKarl Schultz <[email protected]>2004-01-15 15:43:07 +0000
commit46d6bd368d343a40eaa98a0583b524b982e9421f (patch)
treecf1902b96473ec631e5ae1e46d4abdb63fc4d1a9
parent6290ca42f2c3c9d4c441086eb2f5e6425ceecdc7 (diff)
add casts to quiet compiler warnings
-rw-r--r--src/mesa/tnl/t_array_api.c4
1 files changed, 2 insertions, 2 deletions
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;