http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21507
User: guy
Date: 2007/04/22 06:26 PM
Log:
Get rid of some const warnings.
Use the "pnto" macros to fetch 16-bit quantities from a buffer - not
only do they have the right casts to avoid const warnings, they also
work even on platforms (such as SPARC) where you can't dereference
unaligned pointers without a trap.
Similarly, compare a possibly-unaligned (we make no alignment guarantees
in Wireshark) 16-bit quantity against 0 a byte at a time.
Directory: /trunk/epan/crypt/
Changes Path Action
+15 -14 airpdcap.c Modified