From 7e4d13c2bebbb52175ba020082618724678ddc55 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 18 Jan 2019 17:01:57 +0100 Subject: [PATCH] eui48: fix type alignment --- sys/include/net/eui48.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/include/net/eui48.h b/sys/include/net/eui48.h index 56f2ee5db661..89ef9deb6e22 100644 --- a/sys/include/net/eui48.h +++ b/sys/include/net/eui48.h @@ -32,9 +32,8 @@ extern "C" { /** * @brief Data type to represent an EUI-48 */ -typedef union { +typedef struct { uint8_t uint8[6]; /**< split into 6 8-bit words. */ - network_uint16_t uint16[3]; /**< split into 3 16-bit words. */ } eui48_t; /**