]> The Tcpdump Group git mirrors - tcpdump/commit
netdissect.h: Update ND_TTEST2 to fix issue 443
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 27 Apr 2015 16:20:59 +0000 (18:20 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 27 Apr 2015 16:20:59 +0000 (18:20 +0200)
commitcab33b7a0acba7d2268a23c4383be6167106e549
treeee20b23f56451b1ccf2be52974da825f5d5832e3
parent599b0311e073a8e23444b90e2bdb26e3c839e307
netdissect.h: Update ND_TTEST2 to fix issue 443

Add IS_NOT_NEGATIVE macro.
Avoid these warnings:
- comparison of unsigned expression >= 0 is always true [-Wtype-limits],
- comparison is always true due to limited range of data type [-Wtype-limits].
netdissect.h