From: Takashi Iwai Subject: Re: [alsa-cvslog] alsa-lib: fix various warnings Date: Fri, 06 Oct 2006 15:13:43 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: perex@suse.cz Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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