On 04/08/2013 01:51 PM, Harry van Haaren wrote:
On Mon, Apr 8, 2013 at 12:45 PM, Raphaël BOLLEN
<raphael.bol...@mobistar.be <mailto:raphael.bol...@mobistar.be>> wrote:
 > error: invalid conversion from 'void*' to 'char*' [-fpermissive]


jack_ringbuffer_read() expects the buffer pointer to be of type  char*
not void*.
The "char*" should just be interpreted as "pointer", as the data is
data, which is not necessarily a char.

Change your case from (void*) to (char*) and you won't need -fpermissive :)
HTH, -H

hmmm. isn't that a really outdated way of saying "generic pointer", like C89 or so? maybe the ringbuffer implementation should be changed to (void *)?
or am i misunderstanding something?




--
Jörn Nettingsmeier
Lortzingstr. 11, 45128 Essen, Tel. +49 177 7937487

Meister für Veranstaltungstechnik (Bühne/Studio)
Tonmeister VDT

http://stackingdwarves.net

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Reply via email to