Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eui48: fix type alignment #10820

Merged
merged 1 commit into from
Jan 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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