llvmpipe: cast to silence warning
authorBrian Paul <brianp@vmware.com>
Wed, 15 Sep 2010 18:48:29 +0000 (12:48 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 15 Sep 2010 18:48:29 +0000 (12:48 -0600)
src/gallium/drivers/llvmpipe/lp_scene.c

index c0732e4ab7819859a6a964d72195322421d58770..8b504f23a333fee47683f4a4a8629536fad1fcf1 100644 (file)
@@ -223,7 +223,7 @@ lp_scene_end_rasterization(struct lp_scene *scene )
             if (LP_DEBUG & DEBUG_SETUP)
                debug_printf("resource %d: %p %dx%d sz %d\n",
                             j,
-                            ref->resource[i],
+                            (void *) ref->resource[i],
                             ref->resource[i]->width0,
                             ref->resource[i]->height0,
                             llvmpipe_resource_size(ref->resource[i]));