summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_scene.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-09-11 13:47:58 +0100
committerJosé Fonseca <[email protected]>2010-09-11 13:47:58 +0100
commit3ad3cbfb120efa74e77f838d9fd3f1212dd0e47b (patch)
tree4c23374d80b2742ff3186e1df883d2e34cd27d14 /src/gallium/drivers/llvmpipe/lp_scene.h
parent552e2b5065a931f8787012a94fadf66566982050 (diff)
llvmpipe: Silence some warnings.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_scene.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_scene.h4
1 files changed, 2 insertions, 2 deletions
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);