X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/43b5720499c61039c2a8890a73fca10333428f2e..5d29dda004c99926d5e55039e1df28d38a01645c:/print-dsa.c?ds=sidebyside diff --git a/print-dsa.c b/print-dsa.c index 7a6968ab..3d142b28 100644 --- a/print-dsa.c +++ b/print-dsa.c @@ -68,7 +68,7 @@ * b12: To_CPU's Code[0] */ -#define TOK(tag, byte, mask, shift) ((((const u_char *) tag)[byte] & (mask)) >> (shift)) +#define TOK(tag, byte, mask, shift) ((GET_U_1(&(((const u_char *) tag)[byte])) & (mask)) >> (shift)) #define DSA_LEN 4 #define DSA_MODE(tag) TOK(tag, 0, 0xc0, 6)