[linux-audio-user] error compiling an ALSA demo program

Gain Paolo Mureddu gmureddu at prodigy.net.mx
Fri May 26 01:11:39 EDT 2006


Daniel escribió:
> error compiling an ALSA demo program : invalid conversion from void* 
> to pollfd* ?
> I see that pollfd is a struct ufds pointer.
> I did not write the code so I'm somewhat lost, could it be a compiler 
> (switch) setting problem or something else?
> The conversion is not valid C, as far as i know, but then why would it 
> be in this demo like that?
> Thanks,
> Daniel.
Contact the developer, in that case. C has some "strict" rules for type 
casting, and maybe it is written in an "old" form of C, not adherent to 
the ANSI and ISO standards.


More information about the linux-audio-user mailing list