summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-09-24 10:47:42 -0600
committerBrian Paul <[email protected]>2009-09-24 10:47:42 -0600
commit6be2bc56af5c0d281d07e427863789e949904db1 (patch)
tree6260de3e13b243967dc35b6873e77279ff202064
parentf85816354c9538e3b1082f019c4c65c56a8bd77f (diff)
gallium/trace: casts to silence warnings
-rw-r--r--src/gallium/drivers/trace/tr_context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/trace/tr_context.c b/src/gallium/drivers/trace/tr_context.c
index 4940ce62a64..bf470b46ae1 100644
--- a/src/gallium/drivers/trace/tr_context.c
+++ b/src/gallium/drivers/trace/tr_context.c
@@ -126,10 +126,10 @@ trace_context_draw_block(struct trace_context *tr_ctx, int flag)
(tr_ctx->draw_blocker & 4)) {
boolean block = FALSE;
debug_printf("%s (%p %p) (%p %p) (%p %u) (%p %u)\n", __FUNCTION__,
- tr_ctx->draw_rule.fs, tr_ctx->curr.fs,
- tr_ctx->draw_rule.vs, tr_ctx->curr.vs,
- tr_ctx->draw_rule.surf, 0,
- tr_ctx->draw_rule.tex, 0);
+ (void *) tr_ctx->draw_rule.fs, (void *) tr_ctx->curr.fs,
+ (void *) tr_ctx->draw_rule.vs, (void *) tr_ctx->curr.vs,
+ (void *) tr_ctx->draw_rule.surf, 0,
+ (void *) tr_ctx->draw_rule.tex, 0);
if (tr_ctx->draw_rule.fs &&
tr_ctx->draw_rule.fs == tr_ctx->curr.fs)
block = TRUE;