silence warning
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 3 Dec 2004 15:39:58 +0000 (15:39 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 3 Dec 2004 15:39:58 +0000 (15:39 +0000)
src/mesa/swrast/s_tritemp.h

index b05cfbb275f502e19224ac3ca15a8a0df15317d2..c09f1eddf0db0c7e2a0f3108991a83a42272cc6a 100644 (file)
@@ -785,7 +785,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
                const GLfixed fx = FixedCeil(fsx);  /* no fractional part */
                const GLfixed adjx = (GLinterp) (fx - eLeft->fx0); /* SCALED! */
 #endif
-               const GLinterp adjy = eLeft->adjy;                 /* SCALED! */
+               const GLinterp adjy = (GLinterp) eLeft->adjy;      /* SCALED! */
                GLint idxOuter;
 #if TRIANGLE_WALK_DOUBLE
                GLdouble dxOuter;