aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip6_output.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-22 02:06:38 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:44:29 +0100
commit3402618c3a802650bac70d63c1b3be8dd5039a9f (patch)
tree1f11231aeb49960069e579945683afb7894507d6 /slirp/ip6_output.c
parent039d5b6312738ba552527046509777e94a388ed5 (diff)
downloadqemu-3402618c3a802650bac70d63c1b3be8dd5039a9f.zip
qemu-3402618c3a802650bac70d63c1b3be8dd5039a9f.tar.gz
qemu-3402618c3a802650bac70d63c1b3be8dd5039a9f.tar.bz2
slirp: use %p for pointers format
This fixes some compilation warnings on mingw64. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/ip6_output.c')
-rw-r--r--slirp/ip6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/ip6_output.c b/slirp/ip6_output.c
index 762cbfe..52c88ad 100644
--- a/slirp/ip6_output.c
+++ b/slirp/ip6_output.c
@@ -19,8 +19,8 @@ int ip6_output(struct socket *so, struct mbuf *m, int fast)
struct ip6 *ip = mtod(m, struct ip6 *);
DEBUG_CALL("ip6_output");
- DEBUG_ARG("so = %lx", (long)so);
- DEBUG_ARG("m = %lx", (long)m);
+ DEBUG_ARG("so = %p", so);
+ DEBUG_ARG("m = %p", m);
/* Fill IPv6 header */
ip->ip_v = IP6VERSION;