]> The Tcpdump Group git mirrors - tcpdump/commit
On some platforms, "ntohl()" returns a "long" or "unsigned long"; cast
authorguy <guy>
Sun, 10 Nov 2002 20:41:33 +0000 (20:41 +0000)
committerguy <guy>
Sun, 10 Nov 2002 20:41:33 +0000 (20:41 +0000)
commit4b87690c1d0c6cfbaed31e4f0653b489e969cc41
tree40c73fabc9084a4c3b82ccce9be8c32daa06be2f
parent51c0ee7a5e25e0f87d9df54e0c50f620bbbb4400
On some platforms, "ntohl()" returns a "long" or "unsigned long"; cast
it to "u_int32_t" when printing with "%[duox]".

Print unsigned quantities with "%u", not "%d".
print-ospf.c