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, 04 May 2006 12:40:00 -0000 [thread overview]
Message-ID: <20060504124025.GE3797@lunn.ch> (raw)
In-Reply-To: <BAY19-F3B0318B86C9B622DD2607B7B40@phx.gbl>
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
next prev parent reply other threads:[~2006-05-04 12:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-04 11:43 robert sebestyen
2006-05-04 12:40 ` Andrew Lunn [this message]
2006-05-04 13:02 ` robert sebestyen
2006-05-04 13:19 ` Andrew Lunn
2006-05-04 13:31 ` robert sebestyen
2006-05-04 13:33 ` Andrew Lunn
2006-05-04 13:43 ` robert sebestyen
2006-05-04 13:54 ` Andrew Lunn
2006-05-04 14:16 ` robert sebestyen
2006-05-04 14:31 ` Andrew Lunn
2006-05-04 20:42 ` [ECOS] eCos port on SPEAR-07-NC03 Evgeny Belyanco
2006-05-05 7:29 ` Andrew Lunn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060504124025.GE3797@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@ecos.sourceware.org \
--cc=sebestyenrobert@hotmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).