Fix printing of 64-bit quantities.

Do *NOT* assume that "%l[doxu]x" - or "%ll[doxu]" - is the way to print
a 64-bit quantity; on UN*X, it might be a "long" or a "long long",
depending on whether you're on a 32-bit or 64-bit platform and, on
Windows with MSVC++, it's not a long (even in 64-bit mode) and doesn't
use "%ll[doxu]", either.  Instead, use PRI[doxu]64; that's what C99
defines, and what we define ourselves if the C environment doesn't
define it.
1 file changed
tree: 47a9a1ff5088367b5a486b57e0e991e1e5d1c536
  1. lbl/
  2. missing/
  3. tests/
  4. Win32/
  5. win32/
  6. .cvsignore
  7. .gitignore
  8. acconfig.h
  9. aclocal.m4
  10. addrtoname.c
  11. addrtoname.h
  12. af.c
  13. af.h
  14. ah.h
  15. aodv.h
  16. appletalk.h
  17. arcnet.h
  18. atime.awk
  19. atm.h
  20. atmuni31.h
  21. bgp.h
  22. bootp.h
  23. bpf_dump.c
  24. CHANGES
  25. chdlc.h
  26. checksum.c
  27. config.guess
  28. config.h.in
  29. config.sub
  30. configure
  31. configure.in
  32. cpack.c
  33. cpack.h
  34. CREDITS
  35. dccp.h
  36. decnet.h
  37. decode_prefix.h
  38. enc.h
  39. esp.h
  40. ether.h
  41. ethertype.h
  42. extract.h
  43. fddi.h
  44. forces.h
  45. gmpls.c
  46. gmpls.h
  47. gmt2local.c
  48. gmt2local.h
  49. icmp6.h
  50. ieee802_11.h
  51. ieee802_11_radio.h
  52. igrp.h
  53. in_cksum.c
  54. install-sh
  55. INSTALL.txt
  56. interface.h
  57. ip.h
  58. ip6.h
  59. ipfc.h
  60. ipnet.h
  61. ipproto.c
  62. ipproto.h
  63. ipsec_doi.h
  64. ipx.h
  65. isakmp.h
  66. l2tp.h
  67. l2vpn.c
  68. l2vpn.h
  69. lane.h
  70. LICENSE
  71. llc.h
  72. machdep.c
  73. machdep.h
  74. Makefile-devel-adds
  75. Makefile.in
  76. makemib
  77. mib.h
  78. mkdep
  79. mpls.h
  80. nameser.h
  81. netbios.h
  82. netdissect.h
  83. nfs.h
  84. nfsfh.h
  85. nlpid.c
  86. nlpid.h
  87. ntp.h
  88. oakley.h
  89. ospf.h
  90. ospf6.h
  91. oui.c
  92. oui.h
  93. packetdat.awk
  94. parsenfsfh.c
  95. pcap-missing.h
  96. pcap_dump_ftell.c
  97. PLATFORMS
  98. pmap_prot.h
  99. ppi.h
  100. ppp.h
  101. print-802_11.c
  102. print-802_15_4.c
  103. print-ah.c
  104. print-aodv.c
  105. print-ap1394.c
  106. print-arcnet.c
  107. print-arp.c
  108. print-ascii.c
  109. print-atalk.c
  110. print-atm.c
  111. print-babel.c
  112. print-beep.c
  113. print-bfd.c
  114. print-bgp.c
  115. print-bootp.c
  116. print-bt.c
  117. print-carp.c
  118. print-cdp.c
  119. print-cfm.c
  120. print-chdlc.c
  121. print-cip.c
  122. print-cnfp.c
  123. print-dccp.c
  124. print-decnet.c
  125. print-dhcp6.c
  126. print-domain.c
  127. print-dtp.c
  128. print-dvmrp.c
  129. print-eap.c
  130. print-egp.c
  131. print-eigrp.c
  132. print-enc.c
  133. print-esp.c
  134. print-ether.c
  135. print-fddi.c
  136. print-forces.c
  137. print-fr.c
  138. print-frag6.c
  139. print-gre.c
  140. print-hsrp.c
  141. print-icmp.c
  142. print-icmp6.c
  143. print-igmp.c
  144. print-igrp.c
  145. print-ip.c
  146. print-ip6.c
  147. print-ip6opts.c
  148. print-ipcomp.c
  149. print-ipfc.c
  150. print-ipnet.c
  151. print-ipx.c
  152. print-isakmp.c
  153. print-isoclns.c
  154. print-juniper.c
  155. print-krb.c
  156. print-l2tp.c
  157. print-lane.c
  158. print-ldp.c
  159. print-llc.c
  160. print-lldp.c
  161. print-lmp.c
  162. print-lspping.c
  163. print-lwapp.c
  164. print-lwres.c
  165. print-mobile.c
  166. print-mobility.c
  167. print-mpcp.c
  168. print-mpls.c
  169. print-msdp.c
  170. print-netbios.c
  171. print-nfs.c
  172. print-ntp.c
  173. print-null.c
  174. print-olsr.c
  175. print-ospf.c
  176. print-ospf6.c
  177. print-pflog.c
  178. print-pgm.c
  179. print-pim.c
  180. print-ppi.c
  181. print-ppp.c
  182. print-pppoe.c
  183. print-pptp.c
  184. print-radius.c
  185. print-raw.c
  186. print-rip.c
  187. print-ripng.c
  188. print-rpki-rtr.c
  189. print-rrcp.c
  190. print-rsvp.c
  191. print-rt6.c
  192. print-rx.c
  193. print-sctp.c
  194. print-sflow.c
  195. print-sip.c
  196. print-sl.c
  197. print-sll.c
  198. print-slow.c
  199. print-smb.c
  200. print-snmp.c
  201. print-stp.c
  202. print-sunatm.c
  203. print-sunrpc.c
  204. print-symantec.c
  205. print-syslog.c
  206. print-tcp.c
  207. print-telnet.c
  208. print-tftp.c
  209. print-timed.c
  210. print-tipc.c
  211. print-token.c
  212. print-udld.c
  213. print-udp.c
  214. print-usb.c
  215. print-vjc.c
  216. print-vqp.c
  217. print-vrrp.c
  218. print-vtp.c
  219. print-wb.c
  220. print-zephyr.c
  221. README
  222. Readme.Win32
  223. route6d.h
  224. rpc_auth.h
  225. rpc_msg.h
  226. rx.h
  227. sctpConstants.h
  228. sctpHeader.h
  229. send-ack.awk
  230. setsignal.c
  231. setsignal.h
  232. signature.c
  233. signature.h
  234. slcompress.h
  235. slip.h
  236. sll.h
  237. smb.h
  238. smbutil.c
  239. stime.awk
  240. strcasecmp.c
  241. tcp.h
  242. tcpdump-stdinc.h
  243. tcpdump.1.in
  244. tcpdump.c
  245. telnet.h
  246. tftp.h
  247. timed.h
  248. TODO
  249. token.h
  250. udp.h
  251. util.c
  252. VERSION
  253. vfprintf.c