Mesa (master): radeon: Fix cast and comment.
Corbin Simpson
csimpson at kemper.freedesktop.org
Fri May 1 11:39:33 UTC 2009
Module: Mesa
Branch: master
Commit: 1f43cc1d841d3be04433224842f89ff03ba28a02
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1f43cc1d841d3be04433224842f89ff03ba28a02
Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date: Tue Apr 28 04:37:56 2009 -0700
radeon: Fix cast and comment.
---
src/gallium/winsys/drm/radeon/core/radeon_r300.c | 3 +--
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 3302d62..adbf23a 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;
More information about the mesa-commit
mailing list