drm: fix radeon warnings on 64-bit

From: Andrew Morton <akpm@osdl.org>

drivers/char/drm/radeon_state.c: In function `radeon_cp_dispatch_texture':
drivers/char/drm/radeon_state.c:1653: warning: int format, different type arg
(arg 3)
drivers/char/drm/radeon_state.c:1661: warning: int format, different type arg
(arg 3)
drivers/char/drm/radeon_state.c:1689: warning: int format, different type arg
(arg 3)

sizeof() doesn't return an int.

Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>

authored by Dave Airlie and committed by Dave Airlie f8e0f290 2185200c

+3 -3
+3 -3
drivers/char/drm/radeon_state.c
··· 1651 1651 if (tex->height == 1) { 1652 1652 if (tex_width >= 64 || tex_width <= 16) { 1653 1653 RADEON_COPY_MT(buffer, data, 1654 - tex_width * sizeof(u32)); 1654 + (int)(tex_width * sizeof(u32))); 1655 1655 } else if (tex_width == 32) { 1656 1656 RADEON_COPY_MT(buffer, data, 16); 1657 1657 RADEON_COPY_MT(buffer + 8, ··· 1659 1659 } 1660 1660 } else if (tex_width >= 64 || tex_width == 16) { 1661 1661 RADEON_COPY_MT(buffer, data, 1662 - dwords * sizeof(u32)); 1662 + (int)(dwords * sizeof(u32))); 1663 1663 } else if (tex_width < 16) { 1664 1664 for (i = 0; i < tex->height; i++) { 1665 1665 RADEON_COPY_MT(buffer, data, tex_width); ··· 1687 1687 * can upload it directly. 1688 1688 */ 1689 1689 RADEON_COPY_MT(buffer, data, 1690 - dwords * sizeof(u32)); 1690 + (int)(dwords * sizeof(u32))); 1691 1691 } else { 1692 1692 /* Texture image width is less than the minimum, so we 1693 1693 * need to pad out each image scanline to the minimum