]> git.hungrycats.org Git - linux/commitdiff
[PATCH] gcc-3.5: radeon
authorAndrew Morton <akpm@osdl.org>
Wed, 4 Feb 2004 02:37:25 +0000 (18:37 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 4 Feb 2004 02:37:25 +0000 (18:37 -0800)
drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture':
drivers/char/drm/radeon_state.c:1411: error: invalid lvalue in assignment

drivers/char/drm/radeon_state.c

index 833f96981ba0f951f989942312d436a8d65565e2..e4724ef139ab7b110412d38c8f7fb0bb01377ce0 100644 (file)
@@ -1221,7 +1221,7 @@ static int radeon_cp_dispatch_texture( DRMFILE filp,
                /* Update the input parameters for next time */
                image->y += height;
                image->height -= height;
-               (const u8 *)image->data += size;
+               image->data = (const u8 *)image->data + size;
        } while (image->height > 0);
 
        /* Flush the pixel cache after the blit completes.  This ensures