Fix format strings for LP64
authorAdam Jackson <ajax@freedesktop.org>
Fri, 21 Apr 2006 19:51:29 +0000 (19:51 +0000)
committerAdam Jackson <ajax@freedesktop.org>
Fri, 21 Apr 2006 19:51:29 +0000 (19:51 +0000)
src/mesa/drivers/dri/r300/r300_cmdbuf.c

index 320e1bd13e7ca0602f421468aba59eaf1f67f751..f39f71584ce096593b9b1fccc9e86ac89f223aaa 100644 (file)
@@ -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",