]> The Tcpdump Group git mirrors - tcpdump/commit
Use uintptr_t to look at the bits of a pointer.
authorGuy Harris <[email protected]>
Tue, 15 Dec 2015 19:22:19 +0000 (11:22 -0800)
committerGuy Harris <[email protected]>
Tue, 15 Dec 2015 19:22:19 +0000 (11:22 -0800)
commitfd2a4d9ad21d2899af182e383a2d2c70ba8832f6
treed1b00dc699b247708428037ff141e260e7b596b4
parentf25ed1f812ec8eddf9702d54f16e5aa15c371271
Use uintptr_t to look at the bits of a pointer.

We use AC_TYPE_UINTPTR_T in the configure script, so it'll be defined if
we use autotools, and MSVC has supported it since at least Visual Studio
.NET 2003, so we'll use it instead of "unsigned long"; "unsigned long"
causes warnings on LLP64 platforms, as it's not wide enough for a
pointer on those platforms.
in_cksum.c