r300: Fixed a printf conversion warning.
authorOliver McFadden <z3ro.geek@gmail.com>
Thu, 15 Mar 2007 18:29:13 +0000 (18:29 +0000)
committerOliver McFadden <z3ro.geek@gmail.com>
Thu, 15 Mar 2007 18:30:33 +0000 (18:30 +0000)
src/mesa/drivers/dri/r300/r300_cmdbuf.c

index e4511e0c21cb4d575db4f6d1a6a95e8a5771d6e1..a106bbc6abf369735520aeb64287c3d8cfc01164 100644 (file)
@@ -545,9 +545,9 @@ void r300InitCmdBuf(r300ContextPtr r300)
                size = 64*256;
 
        if (RADEON_DEBUG & (DEBUG_IOCTL|DEBUG_DMA)) {
-               fprintf(stderr, "sizeof(drm_r300_cmd_header_t)=%u\n",
+               fprintf(stderr, "sizeof(drm_r300_cmd_header_t)=%zd\n",
                        sizeof(drm_r300_cmd_header_t));
-               fprintf(stderr, "sizeof(drm_radeon_cmd_buffer_t)=%u\n",
+               fprintf(stderr, "sizeof(drm_radeon_cmd_buffer_t)=%zd\n",
                        sizeof(drm_radeon_cmd_buffer_t));
                fprintf(stderr,
                        "Allocating %d bytes command buffer (max state is %d bytes)\n",