gallium/radeon: fix saving multi-part command streams

Use the correct type to fix pointer arithmetic.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Nicolai Hähnle 2017-08-18 20:28:02 +02:00
parent 8937ac9a13
commit 83c5d12d9d
1 changed files with 1 additions and 1 deletions

View File

@ -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. */