Module: Mesa Branch: master Commit: 83c5d12d9d7403c0943048139f7cafb93dcf4866 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=83c5d12d9d7403c0943048139f7cafb93dcf4866
Author: Nicolai Hähnle <[email protected]> Date: Fri Aug 18 20:28:02 2017 +0200 gallium/radeon: fix saving multi-part command streams Use the correct type to fix pointer arithmetic. Reviewed-by: Marek Olšák <[email protected]> --- src/gallium/drivers/radeon/r600_pipe_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 37c12dea37..7226fc21a0 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -495,7 +495,7 @@ static void r600_flush_dma_ring(void *ctx, unsigned flags, void radeon_save_cs(struct radeon_winsys *ws, struct radeon_winsys_cs *cs, struct radeon_saved_cs *saved, bool get_buffer_list) { - void *buf; + uint32_t *buf; unsigned i; /* Save the IB chunks. */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
