diff options
author | Karl Schultz <[email protected]> | 2002-04-04 18:25:40 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2002-04-04 18:25:40 +0000 |
commit | 4d030ba65177842dbc022160ba18d5451dc140e4 (patch) | |
tree | fdcc89999e04cf98494d781b03cc71ee87587fc1 /src/mesa/tnl | |
parent | db0944b08a9bf2983cfed56039dab6ca800f02b4 (diff) |
casts to silence compiler warnings
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_context.h | 6 | ||||
-rw-r--r-- | src/mesa/tnl/t_vb_program.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/tnl/t_context.h b/src/mesa/tnl/t_context.h index 98ff5456048..92483e69994 100644 --- a/src/mesa/tnl/t_context.h +++ b/src/mesa/tnl/t_context.h @@ -1,4 +1,4 @@ -/* $Id: t_context.h,v 1.38 2002/02/13 00:53:20 keithw Exp $ */ +/* $Id: t_context.h,v 1.39 2002/04/04 18:25:40 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -96,8 +96,8 @@ /* Flags for IM->TexCoordSize. Enough flags for 16 units. */ -#define TEX_0_SIZE_3 0x1 -#define TEX_0_SIZE_4 0x10001 +#define TEX_0_SIZE_3 (unsigned)0x1 +#define TEX_0_SIZE_4 (unsigned)0x10001 #define TEX_SIZE_3(unit) (TEX_0_SIZE_3 << (unit)) #define TEX_SIZE_4(unit) (TEX_0_SIZE_4 << (unit)) diff --git a/src/mesa/tnl/t_vb_program.c b/src/mesa/tnl/t_vb_program.c index 2097ecc8cc4..fea8c11f2b7 100644 --- a/src/mesa/tnl/t_vb_program.c +++ b/src/mesa/tnl/t_vb_program.c @@ -1,4 +1,4 @@ -/* $Id: t_vb_program.c,v 1.10 2002/01/22 14:35:17 brianp Exp $ */ +/* $Id: t_vb_program.c,v 1.11 2002/04/04 18:25:40 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -150,7 +150,7 @@ static GLboolean run_vp( GLcontext *ctx, struct gl_pipeline_stage *stage ) struct vertex_buffer *VB = &tnl->vb; struct vp_machine *machine = &(ctx->VertexProgram.Machine); struct vp_program *program = ctx->VertexProgram.Current; - GLint i; + GLuint i; _mesa_init_tracked_matrices(ctx); _mesa_init_vp_registers(ctx); /* init temp and result regs */ |