diff options
author | Karl Schultz <[email protected]> | 2010-02-13 17:31:58 -0700 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2010-02-13 17:34:04 -0700 |
commit | b30898f4ab533085d97a33638ad0a1cf9ddb1d67 (patch) | |
tree | 7c27558e2905da625b75060628967d3d52fe6728 /src/mesa/tnl/t_draw.c | |
parent | 5fd2b46a20321d8600d6256bff17ec3ebc9cb510 (diff) |
mesa: Fix compiler warnings
Add explicit casts, fix constant types, fix variable types.
Fixes about 340 warnings in MSFT Visual Studio.
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r-- | src/mesa/tnl/t_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c index 812d712b079..149f6937115 100644 --- a/src/mesa/tnl/t_draw.c +++ b/src/mesa/tnl/t_draw.c @@ -429,7 +429,7 @@ void _tnl_draw_prims( GLcontext *ctx, _tnl_vbo_draw_prims ); return; } - else if (max_index + max_basevertex > max) { + else if ((GLint)max_index + max_basevertex > max) { /* The software TNL pipeline has a fixed amount of storage for * vertices and it is necessary to split incoming drawing commands * if they exceed that limit. |