From 855a3ca598734273f53c5e316f1d825aea3dd6da Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 9 Nov 2015 08:51:47 -0800 Subject: vc4: Fix a compiler warning. --- src/gallium/drivers/vc4/vc4_resource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c index 122bda0..1469296 100644 --- a/src/gallium/drivers/vc4/vc4_resource.c +++ b/src/gallium/drivers/vc4/vc4_resource.c @@ -668,7 +668,7 @@ vc4_get_shadow_index_buffer(struct pipe_context *pctx, uint16_t *dst = data; struct pipe_transfer *src_transfer = NULL; - uint32_t *src; + const uint32_t *src; if (ib->user_buffer) { src = ib->user_buffer; } else { -- cgit v1.1