summaryrefslogtreecommitdiff
path: root/src/mesa/main/accum.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-03-19 01:10:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-03-19 01:10:11 +0000
commit959f802dabd4f4347dc0ea925ae687abb6938588 (patch)
treedf8d13fb85b62d132007e69d9963c22beee55abc /src/mesa/main/accum.c
parenta742e9bccd683f2a899dafc3703e4d59037c4437 (diff)
fixed compiler warnings on BeOS R4
Diffstat (limited to 'src/mesa/main/accum.c')
-rw-r--r--src/mesa/main/accum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c
index 9621da5b5d..ee32c92206 100644
--- a/src/mesa/main/accum.c
+++ b/src/mesa/main/accum.c
@@ -1,4 +1,4 @@
-/* $Id: accum.c,v 1.16 2000/02/02 21:53:11 brianp Exp $ */
+/* $Id: accum.c,v 1.17 2000/03/19 01:10:11 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -351,7 +351,7 @@ _mesa_Accum( GLenum op, GLfloat value )
static GLchan multTable[32768];
static GLfloat prevMult = 0.0;
GLuint j;
- const GLint max = 256 / mult;
+ const GLint max = (GLint) (256 / mult);
if (mult != prevMult) {
assert(max <= 32768);
for (j = 0; j < max; j++)