At Wed, 04 Oct 2006 17:23:14 +0100, James Courtier-Dutton wrote: > > Takashi Iwai wrote: > > - outl(emu->port + A_IOCFG, emu->saved_a_iocfg); > > - outl(emu->port + HCFG, emu->saved_hcfg); > > + outl(emu->saved_a_iocfg, emu->port + A_IOCFG); > > + outl(emu->saved_hcfg, emu->port + HCFG); > > > Is there any tool to find out who got this wrong in the first place? One could check whether the argument is long or not. The long is likely an i/o port while the data is int or unsigned int. But, C allows implicit conversion, so the compiler would never complain... 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