Skip to content

Commit

Permalink
[netif] use fix type to u8 for addr_gen_mode
Browse files Browse the repository at this point in the history
From the kernel code, addr_gen_mode should be uint8_t.
  • Loading branch information
bukepo committed Jun 7, 2023
1 parent b69dfef commit 92673a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posix/platform/netif.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ static void SetAddrGenModeToNone(void)
char buf[512];
} req;

const enum in6_addr_gen_mode mode = IN6_ADDR_GEN_MODE_NONE;
const uint8_t in6_addr_gen_mode mode = IN6_ADDR_GEN_MODE_NONE;

memset(&req, 0, sizeof(req));

Expand Down

0 comments on commit 92673a2

Please sign in to comment.