]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
Continuation of the previous patch.
authorVincent Bernat <bernat@luffy.cx>
Fri, 13 Jan 2012 06:27:03 +0000 (07:27 +0100)
committerVincent Bernat <bernat@luffy.cx>
Fri, 13 Jan 2012 06:27:03 +0000 (07:27 +0100)
src/frame.h

index b7fae46257eecddc4799ed42e1d3530478117f79..81249cc3bc8a6cff1869064a7416f78342882724 100644 (file)
@@ -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)) &&                                       \
             (                                                 \