gallium/trace: casts to silence warnings
authorBrian Paul <brianp@vmware.com>
Thu, 24 Sep 2009 16:47:42 +0000 (10:47 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Sep 2009 16:47:42 +0000 (10:47 -0600)
src/gallium/drivers/trace/tr_context.c

index 4940ce62a643938576a40d9ba911d2c5b2d54518..bf470b46ae1d01d753995e588ccf2c89228e6017 100644 (file)
@@ -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;