summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorldelgass <ldelgass>2003-01-26 22:24:20 +0000
committerldelgass <ldelgass>2003-01-26 22:24:20 +0000
commitb99f9f8e99eeeac4848f92ea81656ba9a77edad8 (patch)
tree35d5114f43fa3b0ab1b5828030f56ea3cc4357c2
parente0f6979a796f5f2833bd1650ce1662fb27968234 (diff)
Add cast to avoid void * arithmetic warningmesa-4-0-4-20030129
-rw-r--r--xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/radeon_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/radeon_state.c b/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/radeon_state.c
index 1fe007b30..4211b2330 100644
--- a/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/radeon_state.c
+++ b/xc/programs/Xserver/hw/xfree86/os-support/shared/drm/kernel/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 ) {