summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915/i915_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/i915/i915_query.c')
-rw-r--r--src/gallium/drivers/i915/i915_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_query.c b/src/gallium/drivers/i915/i915_query.c
index c886df74bad..0efceb192b6 100644
--- a/src/gallium/drivers/i915/i915_query.c
+++ b/src/gallium/drivers/i915/i915_query.c
@@ -65,7 +65,7 @@ static void i915_end_query(struct pipe_context *ctx, struct pipe_query *query)
static boolean i915_get_query_result(struct pipe_context *ctx,
struct pipe_query *query,
boolean wait,
- void *vresult)
+ union pipe_query_result *vresult)
{
uint64_t *result = (uint64_t*)vresult;