Re: [alsa-cvslog] alsa-lib: fix various warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Fri,  6 Oct 2006 13:18:39 +0200 (CEST),
Jaroslav Kysela wrote:
> 
> changeset:   2219:1de4320f21cc1bd5d4fdcf0aa9f022c66954547c
> tag:         tip
> user:        perex
> date:        Fri Oct 06 13:18:34 2006 +0200
> files:       include/global.h src/control/control_ext.c src/pcm/pcm_direct.c src/pcm/pcm_hooks.c src/pcm/pcm_meter.c
> description:
> fix various warnings
> See also ALSA bug#1689
> 
> 
(snip)
> diff -r 603411fd0c77712cab43cdd5afcf0ff4ebe51a7f -r 1de4320f21cc1bd5d4fdcf0aa9f022c66954547c src/control/control_ext.c
> --- a/src/control/control_ext.c	Fri Oct 06 11:01:40 2006 +0200
> +++ b/src/control/control_ext.c	Fri Oct 06 13:18:34 2006 +0200
> @@ -142,9 +142,9 @@ static int snd_ctl_ext_elem_info(snd_ctl
>  		{
>  			int64_t xmin, xmax, xstep;
>  			ret = ext->callback->get_integer64_info(ext, key,
> -								&xmin,
> -								&xmax,
> -								&xstep);
> +								(int64_t *)&xmin,
> +								(int64_t *)&xmax,
> +								(int64_t *)&xstep);
>  			info->value.integer64.min = xmin;
>  			info->value.integer64.max = xmax;
>  			info->value.integer64.step = xstep;

This change is nonsense.  The relevant warnings were already fixed.


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux