aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip6_icmp.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2017-03-27 10:46:12 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-03-29 00:49:04 +0200
commit51149a2ac1ed962e04c48fe591f2b6b288755af6 (patch)
treef8afbe26667e1bc766d137a5a43548f6a192aefa /slirp/ip6_icmp.c
parentdf9046363220e57d45818312759b954c033c58ab (diff)
slirp: fix compilation errors with DEBUG set
slirp/slirp.c: In function 'get_dns_addr_resolv_conf': slirp/slirp.c:202:29: error: initialization discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] char *res = inet_ntop(af, tmp_addr, s, sizeof(s)); ^~~~~~~~~ slirp/slirp.c:204:25: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] res = "(string conversion error)"; Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/ip6_icmp.c')
0 files changed, 0 insertions, 0 deletions