aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_batchbuffer.c
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2006-04-07 08:50:39 +0000
committerAlan Hourihane <[email protected]>2006-04-07 08:50:39 +0000
commite2af1da1d3578f23e67ab9e259a9d59fec34f25a (patch)
tree67289eaccd6dfe2fd34e598f4c57922eecb6f42c /src/mesa/drivers/dri/i915/intel_batchbuffer.c
parent9d3de643d1cd84cd0f48ff72ab7218f20b158c28 (diff)
Fix some warnings on x86_64
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_batchbuffer.c')
-rw-r--r--src/mesa/drivers/dri/i915/intel_batchbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_batchbuffer.c b/src/mesa/drivers/dri/i915/intel_batchbuffer.c
index 5979e236bcd..53ebc17099d 100644
--- a/src/mesa/drivers/dri/i915/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i915/intel_batchbuffer.c
@@ -216,7 +216,7 @@ void intelStartInlinePrimitive( intelContextPtr intel, GLuint prim )
}
#if 1
- if (((int)intel->batch.ptr) & 0x4) {
+ if (((unsigned long)intel->batch.ptr) & 0x4) {
BEGIN_BATCH(1);
OUT_BATCH(0);
ADVANCE_BATCH();