diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-08-22 17:48:23 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-08-22 21:42:13 +0200 |
| commit | df5c8fa25ff3ed977df7bc12ac25b1e6b8ef2b21 (patch) | |
| tree | 89291e396fea9518de14487c98ca4d4245828e26 /executor/common_linux.h | |
| parent | 49a5a1ab2f94353aa29edebdabc9eda5b168020b (diff) | |
tools/docker: add old-env
old-env is based on Ubuntu 16.04 and allows to test
executor build on older distributions.
Fixes #2055
Diffstat (limited to 'executor/common_linux.h')
| -rw-r--r-- | executor/common_linux.h | 2 |
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; |
