From: Adam Jackson Date: Fri, 21 Apr 2006 19:51:29 +0000 (+0000) Subject: Fix format strings for LP64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca98203cd9fe7d890091cd41fb310aea33d7c314;p=mesa.git Fix format strings for LP64 --- 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",