diff options
author | Karl Schultz <[email protected]> | 2002-10-17 22:26:06 +0000 |
---|---|---|
committer | Karl Schultz <[email protected]> | 2002-10-17 22:26:06 +0000 |
commit | 798d83cf67098a7df293c711e0d2c8c296fc4c8f (patch) | |
tree | cf89db0ab067d627d3fbb412eba713d4ae3700f5 /src/mesa/main/attrib.c | |
parent | 6afdc0bec2e75374875578375772aa7776774851 (diff) |
Add casts to quiet compiler warnings.
Diffstat (limited to 'src/mesa/main/attrib.c')
-rw-r--r-- | src/mesa/main/attrib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/attrib.c b/src/mesa/main/attrib.c index 5c02a6c41ed..32a87f33ce3 100644 --- a/src/mesa/main/attrib.c +++ b/src/mesa/main/attrib.c @@ -1,4 +1,4 @@ -/* $Id: attrib.c,v 1.73 2002/10/11 21:42:08 brianp Exp $ */ +/* $Id: attrib.c,v 1.74 2002/10/17 22:26:06 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -421,8 +421,8 @@ pop_enable_group(GLcontext *ctx, const struct gl_enable_attrib *enable) for (i=0;i<MAX_CLIP_PLANES;i++) { const GLuint mask = 1 << i; if ((ctx->Transform.ClipPlanesEnabled & mask) != (enable->ClipPlanes & mask)) - _mesa_set_enable(ctx, (GLenum) (GL_CLIP_PLANE0 + i), - (enable->ClipPlanes & mask) ? GL_TRUE : GL_FALSE); + _mesa_set_enable(ctx, (GLenum) (GL_CLIP_PLANE0 + i), + (GLboolean) ((enable->ClipPlanes & mask) ? GL_TRUE : GL_FALSE)); } TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial, |