[ECOS] invalid conversion from void* to void**
Andrew Lunn
andrew@lunn.ch
Thu May 4 12:40:00 GMT 2006
On Thu, May 04, 2006 at 01:28:29PM +0200, robert sebestyen wrote:
> First, I would like to apologize myself for disturbing you with my problem.
>
> I implemented a lwIP into an existing project running on OS ecos, when i
> call the data i receive always invalid conversion from void* to void**! I
> call the lwIP with the following code:
You don't say which function call is actually giving you the warnings.
My guess is it is:
> netbuf_data(buf,(void*)&data,&len);
in aph.h we have:
err_t netbuf_data (struct netbuf *buf, void **dataptr, u16_t *len);
your second parameter is wrong. You pass a void *, not a void **.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list