From 7e371bb1e6f7a364444ef2b8f475f7e2e48a7b5b Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 15 Sep 2020 12:55:29 +0200 Subject: [PATCH] ipv6: Declare unsigned long long literal --- sys/include/net/ipv6/addr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/net/ipv6/addr.h b/sys/include/net/ipv6/addr.h index c91ac23d48..e9d3fd40ba 100644 --- a/sys/include/net/ipv6/addr.h +++ b/sys/include/net/ipv6/addr.h @@ -687,7 +687,7 @@ static inline void ipv6_addr_set_all_routers_multicast(ipv6_addr_t *addr, unsign */ static inline void ipv6_addr_set_solicited_nodes(ipv6_addr_t *out, const ipv6_addr_t *in) { - out->u64[0] = byteorder_htonll(0xff02000000000000); + out->u64[0] = byteorder_htonll(0xff02000000000000ull); out->u32[2] = byteorder_htonl(1); out->u8[12] = 0xff; out->u8[13] = in->u8[13];