diff options
author | Karl Schultz <[email protected]> | 2004-01-15 15:43:07 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2004-01-15 15:43:07 +0000 |
commit | 46d6bd368d343a40eaa98a0583b524b982e9421f (patch) | |
tree | cf1902b96473ec631e5ae1e46d4abdb63fc4d1a9 /src/mesa/tnl | |
parent | 6290ca42f2c3c9d4c441086eb2f5e6425ceecdc7 (diff) |
add casts to quiet compiler warnings
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_array_api.c | 4 |
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; |