]> The Tcpdump Group git mirrors - tcpdump/commit
Cast "sizeof" to a "u_int"; it's not guaranteed to be "int" in size (it
authorguy <guy>
Wed, 13 Sep 2006 06:31:11 +0000 (06:31 +0000)
committerguy <guy>
Wed, 13 Sep 2006 06:31:11 +0000 (06:31 +0000)
commitd7da1619b5f30dc84f0303ce025a8df04b8a42f8
tree50e04cdeaec21a3eb263c94f9b03a2da1b961224
parent603d00791c0af2a3746e6064ed013d00b06db2c6
Cast "sizeof" to a "u_int"; it's not guaranteed to be "int" in size (it
could be "long", for example, and probably *is* "long" on LP64
platforms), so you can't print it with "%u", but, in this particular
case, it's going to fit in a 32-bit quantity.
print-ospf6.c