summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/drm/radeon/core/radeon_r300.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c
index 3302d623bf..adbf23ab51 100644
--- a/src/gallium/winsys/drm/radeon/core/radeon_r300.c
+++ b/src/gallium/winsys/drm/radeon/core/radeon_r300.c
@@ -56,8 +56,7 @@ static void do_ioctls(struct r300_winsys* winsys, int fd)
int target;
int retval;
- /* XXX is this cast safe? */
- gp.value = (int*)⌖
+ gp.value = ⌖
/* First, get the number of pixel pipes */
gp.param = RADEON_PARAM_NUM_GB_PIPES;