Philippe Mathieu-Daudé 1120fae0cf slirp: avoid IN6_IS_ADDR_UNSPECIFIED(), rather use in6_zero()
Host: Mac OS 10.12.5
Compiler: Apple LLVM version 8.1.0 (clang-802.0.42)

  slirp/ip6_icmp.c:80:38: warning: taking address of packed member 'ip_src' of class or
        structure 'ip6' may result in an unaligned pointer value
        [-Waddress-of-packed-member]
              IN6_IS_ADDR_UNSPECIFIED(&ip->ip_src)) {
                                       ^~~~~~~~~~
  /usr/include/netinet6/in6.h:238:42: note: expanded from macro 'IN6_IS_ADDR_UNSPECIFIED'
          ((*(const __uint32_t *)(const void *)(&(a)->s6_addr[0]) == 0) && \
                                                  ^

Reported-by: John Arbuckle <programmingkidx@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2018-01-14 18:16:13 +01:00
..
2016-02-04 17:41:30 +00:00
2016-06-07 18:19:25 +03:00
2017-07-15 14:28:25 +02:00
2017-04-25 19:17:25 +08:00
2017-04-25 19:17:25 +08:00
2017-04-25 19:17:25 +08:00
2017-04-29 18:44:16 +02:00
2017-09-27 11:35:59 +01:00
2017-04-29 18:44:16 +02:00
2017-05-27 23:34:47 +02:00
2017-04-29 18:44:16 +02:00
2017-04-29 18:29:58 +02:00
2016-07-03 23:59:42 +02:00