Ethereal-dev: Re: [ethereal-dev] stupid -Wall patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Tue, 26 Oct 1999 15:01:08 -0700 (PDT)
> In any case it was a %d which probably generated a warning for everyone.

Because "%d" is for signed numbers?  For better or worse, GCC 2.x
doesn't seem to check the signedness of types being printed and of the
format (e.g., warning about signed with "%u" or unsigned with "%d"; "%o"
and "%x"/"%X" would presumably be considered OK with either), only the
size and integer/pointer/floating-point nature.