From: Andrew Lunn <andrew@lunn.ch>
To: robert sebestyen <sebestyenrobert@hotmail.com>
CC: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] invalid conversion from void* to void**
Date: Thu, 4 May 2006 14:40:25 +0200
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