From: Corbin Simpson Date: Tue, 28 Apr 2009 11:37:56 +0000 (-0700) Subject: radeon: Fix cast and comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f43cc1d841d3be04433224842f89ff03ba28a02;p=mesa.git radeon: Fix cast and comment. --- diff --git a/src/gallium/winsys/drm/radeon/core/radeon_r300.c b/src/gallium/winsys/drm/radeon/core/radeon_r300.c index 3302d623bf9..adbf23ab510 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;