From ca98203cd9fe7d890091cd41fb310aea33d7c314 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 21 Apr 2006 19:51:29 +0000 Subject: [PATCH] Fix format strings for LP64 --- src/mesa/drivers/dri/r300/r300_cmdbuf.c | 4 ++-- 1 file 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", -- 2.30.2