From 9b9b099471580616e1685bae725f2c297179ae99 Mon Sep 17 00:00:00 2001 From: Leif Delgass Date: Sun, 26 Jan 2003 22:25:35 +0000 Subject: Add cast to avoid void * arithmetic warning --- shared/radeon_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/radeon_state.c b/shared/radeon_state.c index 1fe007b3..4211b233 100644 --- a/shared/radeon_state.c +++ b/shared/radeon_state.c @@ -1159,7 +1159,7 @@ static int radeon_cp_dispatch_texture( drm_device_t *dev, /* Update the input parameters for next time */ image->y += height; image->height -= height; - image->data += size; + image->data = (const u8 *)image->data + size; buf = radeon_freelist_get( dev ); if ( 0 && !buf ) { -- cgit v1.2.3