diff options
Diffstat (limited to 'xc/extras/Mesa/src/accum.c')
-rw-r--r-- | xc/extras/Mesa/src/accum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/accum.c b/xc/extras/Mesa/src/accum.c index 2f1996eb8..e4e7cfec8 100644 --- a/xc/extras/Mesa/src/accum.c +++ b/xc/extras/Mesa/src/accum.c @@ -350,7 +350,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++) |