Skip to content

Commit

Permalink
Merge pull request #10820 from miri64/eui48/fix/type-alignment
Browse files Browse the repository at this point in the history
eui48: fix type alignment
  • Loading branch information
maribu authored Jan 18, 2019
2 parents a78f357 + 7e4d13c commit c2cda28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sys/include/net/eui48.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/**
Expand Down

0 comments on commit c2cda28

Please sign in to comment.