diff options
author | Brian Paul <[email protected]> | 2004-05-04 15:11:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-05-04 15:11:06 +0000 |
commit | bdd15b5749b45929fa642c3e47997f52eb07fbe5 (patch) | |
tree | 103b77f6cd3e845f0816092a7e21a57ec6f98a2c /src/mesa/tnl/t_vertex.c | |
parent | 33ffbd1c58dc8582f67d946f9eb26127e9851a10 (diff) |
Fix minor warnings found with g++.
Diffstat (limited to 'src/mesa/tnl/t_vertex.c')
-rw-r--r-- | src/mesa/tnl/t_vertex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index fc076190e46..dcb6aef16b1 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa/tnl/t_vertex.c @@ -940,7 +940,7 @@ void _tnl_get_attr( GLcontext *ctx, const void *vin, GLuint j; for (j = 0; j < attr_count; j++) { - if (a[j].attrib == (int)attr) { + if (a[j].attrib == attr) { a[j].extract( &a[j], dest, (GLubyte *)vin + a[j].vertoffset ); return; } @@ -963,7 +963,7 @@ void _tnl_set_attr( GLcontext *ctx, void *vout, GLuint j; for (j = 0; j < attr_count; j++) { - if (a[j].attrib == (int)attr) { + if (a[j].attrib == attr) { a[j].insert[4-1]( &a[j], (GLubyte *)vout + a[j].vertoffset, src ); return; } |