summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-02-27 23:37:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-02-27 23:37:53 +0000
commit13c4c046a5ff6130fa27385bb93d2464e0ff0f83 (patch)
treeed5fdb2a65307cbc5d6162beba09624a20b888a3 /src
parente9218448caa44708fe38646e077ca89058d9d4e1 (diff)
fix a cast (bug 694546)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_aaline.c8
1 files changed, 4 insertions, 4 deletions
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;
}