This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Warning clean for redboot package.
On Mon, Jun 27, 2005 at 05:15:29PM +0200, sebastien Couret wrote:
> Hello,
> While compiling a redboot with -Wall -Werror for my target.
> Some warnings were raised.
>
> Here's a proposed patch for cleaning format warnings on redboot package
> (Impacted files redboot/current/src/iomem.c redboot//current/src/flash.c
> redboot//current/src/net/ping.c)
The ping fix is not correct. The correct fix was to ntohs() which was
declared as returning an long not a short!
Andrew