xf86-video-ati: Branch 'master'

Michel Dänzer michel at tungstengraphics.com
Wed Feb 20 01:28:32 PST 2008


On Wed, 2008-02-20 at 01:22 -0800, Michel Daenzer wrote:
> src/radeon_output.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> New commits:
> commit 1d0e9ab8b9451101b1b91943546f6c5833c21b3f
> Author: Michel Dänzer <michel at tungstengraphics.com>
> Date:   Wed Feb 20 10:21:49 2008 +0100
> 
>     radeon: Fix typo flagged by gcc -Wall.
> 
> diff --git a/src/radeon_output.c b/src/radeon_output.c
> index e65e269..48cac7d 100644
> --- a/src/radeon_output.c
> +++ b/src/radeon_output.c
> @@ -393,7 +393,7 @@ void RADEONConnectorFindMonitor(ScrnInfoPtr pScrn, xf86OutputPtr output)
>      /* panel is probably busted or not connected */
>      if ((radeon_output->MonType == MT_LCD) &&
>  	((radeon_output->PanelXRes == 0) || (radeon_output->PanelYRes == 0)))
> -	radeon_output->MonType == MT_NONE;
> +	radeon_output->MonType = MT_NONE;

I'd like to once again encourage everybody to build with -Wall
-Werror ... with recent versions of gcc, you may also need
-Wno-error=address to avoid erroring out on a warning from the
REGION_INIT() macro that I haven't figured out a reasonable way to
avoid.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer



More information about the xorg-driver-ati mailing list