Ethereal

Re: [ethereal-dev] -Wall fixes for FreeBSD
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: August 1999


> Just some simple fixes to make the FreeBSD egcs happy, this commit
> should be a no-brainer.

"packet-isakmp.c", in the CVS tree, is already changed to use "%u" rather
than "%lu" to print the result of "pntohl()" - the "l" nonwithstanding,
it returns a "guint32", which is an "unsigned int".

I added to your patch to "packet-ipv6.c" a cast of the result of
"ntohl()" to "unsigned long", so that it's type-correct even if
"ntohl()" doesn't return a "long" (which it might not on at least some
64-bit platforms).


Powered by MHonArc 2.6.10