From: Vincent Bernat Date: Fri, 13 Jan 2012 06:27:03 +0000 (+0100) Subject: Continuation of the previous patch. X-Git-Tag: 0.5.6~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b3a1960916dfdbe3620b15f401c8fcb422a1a2a;p=thirdparty%2Flldpd.git Continuation of the previous patch. --- diff --git a/src/frame.h b/src/frame.h index b7fae462..81249cc3 100644 --- a/src/frame.h +++ b/src/frame.h @@ -37,9 +37,9 @@ union { pos += sizeof(type), \ 1 \ )) -#define POKE_UINT8(value) POKE(value, types.uint8, ) -#define POKE_UINT16(value) POKE(value, types.uint16, htons) -#define POKE_UINT32(value) POKE(value, types.uint32, htonl) +#define POKE_UINT8(value) POKE(value, types.f_uint8, ) +#define POKE_UINT16(value) POKE(value, types.f_uint16, htons) +#define POKE_UINT32(value) POKE(value, types.f_uint32, htonl) #define POKE_BYTES(value, bytes) \ ((length >= (bytes)) && \ ( \