summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915/intel_batchbuffer.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2006-04-07 08:50:39 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2006-04-07 08:50:39 +0000
commite2af1da1d3578f23e67ab9e259a9d59fec34f25a (patch)
tree67289eaccd6dfe2fd34e598f4c57922eecb6f42c /src/mesa/drivers/dri/i915/intel_batchbuffer.h
parent9d3de643d1cd84cd0f48ff72ab7218f20b158c28 (diff)
Fix some warnings on x86_64
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_batchbuffer.h')
-rw-r--r--src/mesa/drivers/dri/i915/intel_batchbuffer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_batchbuffer.h b/src/mesa/drivers/dri/i915/intel_batchbuffer.h
index b0aed89af5..577d07137f 100644
--- a/src/mesa/drivers/dri/i915/intel_batchbuffer.h
+++ b/src/mesa/drivers/dri/i915/intel_batchbuffer.h
@@ -43,8 +43,9 @@ extern int VERBOSE;
#define BEGIN_BATCH(n) \
do { \
if (VERBOSE) fprintf(stderr, \
- "BEGIN_BATCH(%d) in %s, %d dwords free\n", \
- (n), __FUNCTION__, intel->batch.space/4); \
+ "BEGIN_BATCH(%ld) in %s, %d dwords free\n", \
+ ((unsigned long)n), __FUNCTION__, \
+ intel->batch.space/4); \
if (intel->batch.space < (n)*4) \
intelFlushBatch(intel, GL_TRUE); \
if (intel->batch.space == intel->batch.size) intel->batch.func = __FUNCTION__; \