diff options
author | 2018-01-08 14:28:55 -0300 | |
---|---|---|
committer | 2018-01-14 18:16:13 +0100 | |
commit | 1120fae0cfb0bd5697211bf66aed981c919a7683 (patch) | |
tree | 893b756af6e8559e2d3b92885293a3e79c6b0782 /hw/misc/omap_clk.c | |
parent | Merge remote-tracking branch 'remotes/kraxel/tags/vnc-20180112-pull-request' into staging (diff) | |
download | qemu-1120fae0cfb0bd5697211bf66aed981c919a7683.tar.xz qemu-1120fae0cfb0bd5697211bf66aed981c919a7683.zip |
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>
Diffstat (limited to 'hw/misc/omap_clk.c')
0 files changed, 0 insertions, 0 deletions