From 8eaa2902162e145cd07a9427ec99ab0ca85aa35a Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Fri, 18 Oct 2002 17:02:00 +0000 Subject: Add casts to quiet compiler warnings. --- src/mesa/swrast/s_alphabuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_alphabuf.c') diff --git a/src/mesa/swrast/s_alphabuf.c b/src/mesa/swrast/s_alphabuf.c index 4bf3368cb2..d68e6bf82b 100644 --- a/src/mesa/swrast/s_alphabuf.c +++ b/src/mesa/swrast/s_alphabuf.c @@ -1,4 +1,4 @@ -/* $Id: s_alphabuf.c,v 1.13 2002/10/11 17:41:06 brianp Exp $ */ +/* $Id: s_alphabuf.c,v 1.14 2002/10/18 17:02:01 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -103,7 +103,7 @@ _mesa_alloc_alpha_buffers( GLframebuffer *buffer ) void _mesa_clear_alpha_buffers( GLcontext *ctx ) { - const GLchan aclear = ctx->Color.ClearColor[3]; + const GLchan aclear = (GLchan) ctx->Color.ClearColor[3]; GLuint bufferBit; ASSERT(ctx->DrawBuffer->UseSoftwareAlphaBuffers); -- cgit v1.2.3