summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r128/r128_span.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-03-24 08:29:28 -0600
committerBrian Paul <[email protected]>2011-03-24 08:29:28 -0600
commitb5745429d733f2b381b8afef74448c29e7c3c2ed (patch)
treea2581f1779e41d4f44b890b162fdbf1c8f0df93f /src/mesa/drivers/dri/r128/r128_span.c
parent7d40bf25662feea57a804502814634ffa908b58c (diff)
r128: fix an old annoying warning
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_span.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_span.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_span.c b/src/mesa/drivers/dri/r128/r128_span.c
index 307de56ee13..04bdbe612e5 100644
--- a/src/mesa/drivers/dri/r128/r128_span.c
+++ b/src/mesa/drivers/dri/r128/r128_span.c
@@ -135,7 +135,7 @@ do { \
r128WriteDepthSpanLocked( rmesa, n, \
x + dPriv->x, \
y + dPriv->y, \
- depth, mask ); \
+ (const GLuint *) depth, mask ); \
} while (0)
#define WRITE_DEPTH_PIXELS() \
@@ -146,7 +146,7 @@ do { \
ox[i] = x[i] + dPriv->x; \
oy[i] = Y_FLIP( y[i] ) + dPriv->y; \
} \
- r128WriteDepthPixelsLocked( rmesa, n, ox, oy, depth, mask ); \
+ r128WriteDepthPixelsLocked( rmesa, n, ox, oy, (const GLuint *) depth, mask ); \
} while (0)
#define READ_DEPTH_SPAN() \