summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-04-28 04:37:56 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-05-01 04:39:04 -0700
commit1f43cc1d841d3be04433224842f89ff03ba28a02 (patch)
tree56db5aa75cc63d10a5af0439d295181376bc6c10 /src
parente4e7ecc221fc1ed5714ac4c13e5cea204d37c6ad (diff)
radeon: Fix cast and comment.
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*)&target;
+ gp.value = &target;
/* First, get the number of pixel pipes */
gp.param = RADEON_PARAM_NUM_GB_PIPES;