From 13c4c046a5ff6130fa27385bb93d2464e0ff0f83 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 27 Feb 2003 23:37:53 +0000 Subject: fix a cast (bug 694546) --- src/mesa/swrast/s_aaline.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/swrast/s_aaline.c b/src/mesa/swrast/s_aaline.c index c5994d668f..deaae01f71 100644 --- a/src/mesa/swrast/s_aaline.c +++ b/src/mesa/swrast/s_aaline.c @@ -1,10 +1,10 @@ -/* $Id: s_aaline.c,v 1.17 2003/01/14 04:55:46 brianp Exp $ */ +/* $Id: s_aaline.c,v 1.18 2003/02/27 23:37:53 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 5.1 + * Version: 5.0.1 * - * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2003 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -185,7 +185,7 @@ solve_plane_chan(GLfloat x, GLfloat y, const GLfloat plane[4]) return 0; else if (z > CHAN_MAXF) return (GLchan) CHAN_MAXF; - return (GLchan) (GLint) z; + return (GLchan) z; } -- cgit v1.2.3