]> The Tcpdump Group git mirrors - tcpdump/commit
Use unsigned values in tok2str and bittok2str routines.
authorGuy Harris <[email protected]>
Sun, 19 Apr 2015 02:56:49 +0000 (19:56 -0700)
committerGuy Harris <[email protected]>
Sun, 19 Apr 2015 02:56:49 +0000 (19:56 -0700)
commit30b028f9da2948a88207da7ae4c1d34e7c0a0f09
tree0a1cc86637f3c70e9be562a2c1bf9efbb09f94d8
parent954bf4e2e3eab7480be7e09915d5a123370773c2
Use unsigned values in tok2str and bittok2str routines.

This prevents the compiler issue mentioned in GitHub issue #451, and
also cleans up some other signed vs. unsigned stuff.

While we're at it, clean up bittok2str_internal() (just pass it the
separator string, not a Boolean value that's tested to choose the
separator string), and print unknown arguments to the bittok2str
routines in hex, not decimal.
netdissect.h
util-print.c