]> The Tcpdump Group git mirrors - tcpdump/commit
Use unsigned values in tok2str and bittok2str routines.
authorGuy Harris <[email protected]>
Sun, 19 Apr 2015 02:58:16 +0000 (19:58 -0700)
committerGuy Harris <[email protected]>
Sun, 19 Apr 2015 02:58:16 +0000 (19:58 -0700)
commit8f0170452f5ebc2aae97544f296e8984e942a5cb
tree1bcce0a2e9fef8cd8f36efbe3b8800fcc7b47542
parent685c8f49afd9566e5ad451c3f6d15bc1d0c3f6a4
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.c