mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-03 15:10:18 +01:00
Add cast to avoid void * arithmetic warning
This commit is contained in:
parent
4fe8f23690
commit
204936f4c7
2 changed files with 2 additions and 2 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue