From 3ad3cbfb120efa74e77f838d9fd3f1212dd0e47b Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 11 Sep 2010 13:47:58 +0100 Subject: llvmpipe: Silence some warnings. --- src/gallium/drivers/llvmpipe/lp_scene.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h') diff --git a/src/gallium/drivers/llvmpipe/lp_scene.h b/src/gallium/drivers/llvmpipe/lp_scene.h index dee780c1cde..fff849fe518 100644 --- a/src/gallium/drivers/llvmpipe/lp_scene.h +++ b/src/gallium/drivers/llvmpipe/lp_scene.h @@ -207,7 +207,7 @@ lp_scene_alloc( struct lp_scene *scene, unsigned size) assert(block != NULL); if (LP_DEBUG & DEBUG_MEM) - debug_printf("alloc %d block %d/%d tot %d/%d\n", + debug_printf("alloc %u block %u/%lu tot %u/%u\n", size, block->used, DATA_BLOCK_SIZE, scene->scene_size, LP_SCENE_MAX_SIZE); @@ -240,7 +240,7 @@ lp_scene_alloc_aligned( struct lp_scene *scene, unsigned size, assert(block != NULL); if (LP_DEBUG & DEBUG_MEM) - debug_printf("alloc %d block %d/%d tot %d/%d\n", + debug_printf("alloc %u block %u/%lu tot %u/%u\n", size + alignment - 1, block->used, DATA_BLOCK_SIZE, scene->scene_size, LP_SCENE_MAX_SIZE); -- cgit v1.2.3