aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_linux.h')
-rw-r--r--executor/common_linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_linux.h b/executor/common_linux.h
index 244707191..68be3eeff 100644
--- a/executor/common_linux.h
+++ b/executor/common_linux.h
@@ -864,7 +864,7 @@ static void netlink_wireguard_setup(void)
.sin6_port = htons(listen_c)};
endpoint_c_v6.sin6_addr = in6addr_loopback;
const struct in_addr first_half_v4 = {0};
- const struct in_addr second_half_v4 = {htonl(128 << 24)};
+ const struct in_addr second_half_v4 = {(uint32)htonl(128 << 24)};
const struct in6_addr first_half_v6 = {{{0}}};
const struct in6_addr second_half_v6 = {{{0x80}}};
const uint8 half_cidr = 1;