summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i810
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i810')
-rw-r--r--src/mesa/drivers/dri/i810/i810render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i810/i810render.c b/src/mesa/drivers/dri/i810/i810render.c
index c674378953f..bb8db8dbcdd 100644
--- a/src/mesa/drivers/dri/i810/i810render.c
+++ b/src/mesa/drivers/dri/i810/i810render.c
@@ -107,7 +107,7 @@ static const GLenum reduced_prim[GL_POLYGON+1] = {
(I810_DMA_BUF_SZ-4) / (imesa->vertex_size * 4)
#define ALLOC_VERTS( nr ) \
- i810AllocDmaLow( imesa, nr * imesa->vertex_size * 4)
+ i810AllocDmaLow( imesa, (nr) * imesa->vertex_size * 4)
#define EMIT_VERTS( ctx, j, nr, buf ) \
i810_emit_contiguous_verts(ctx, j, (j)+(nr), buf)