From: José Fonseca Date: Sat, 11 Sep 2010 12:47:58 +0000 (+0100) Subject: llvmpipe: Silence some warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ad3cbfb120efa74e77f838d9fd3f1212dd0e47b;p=mesa.git llvmpipe: Silence some warnings. --- 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);