aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2006-04-21 19:51:29 +0000
committerAdam Jackson <[email protected]>2006-04-21 19:51:29 +0000
commitca98203cd9fe7d890091cd41fb310aea33d7c314 (patch)
tree522c4006ab75aba3899b9a8237bff1af2b292a01
parentb87957d59ab961a91b5151fc8af17464a6a8edef (diff)
Fix format strings for LP64
-rw-r--r--src/mesa/drivers/dri/r300/r300_cmdbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index 320e1bd13e7..f39f71584ce 100644
--- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@ -544,9 +544,9 @@ void r300InitCmdBuf(r300ContextPtr r300)
size = 64*256;
if (RADEON_DEBUG & (DEBUG_IOCTL|DEBUG_DMA)) {
- fprintf(stderr, "sizeof(drm_r300_cmd_header_t)=%d\n",
+ fprintf(stderr, "sizeof(drm_r300_cmd_header_t)=%ld\n",
sizeof(drm_r300_cmd_header_t));
- fprintf(stderr, "sizeof(drm_radeon_cmd_buffer_t)=%d\n",
+ fprintf(stderr, "sizeof(drm_radeon_cmd_buffer_t)=%ld\n",
sizeof(drm_radeon_cmd_buffer_t));
fprintf(stderr,
"Allocating %d bytes command buffer (max state is %d bytes)\n",