From: Marek Olšák Date: Sun, 19 Jun 2011 17:42:22 +0000 (+0200) Subject: r600g: fix warning: assignment discards qualifiers from pointer target type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8623c68aec95e0883308051068b3496a85e8b9ea;p=mesa.git r600g: fix warning: assignment discards qualifiers from pointer target type --- diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index e858ea212ea..6171d285bb9 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -294,7 +294,8 @@ static void r600_resource_copy_region(struct pipe_context *ctx, { struct r600_resource_texture *rsrc = (struct r600_resource_texture*)src; struct texture_orig_info orig_info[2]; - struct pipe_box sbox, *psbox; + struct pipe_box sbox; + const struct pipe_box *psbox; boolean restore_orig[2]; /* Fallback for buffers. */