diff options
author | Stefan Weil <sw@weilnetz.de> | 2015-08-29 09:12:35 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-11-12 13:48:36 +0800 |
commit | f75c02cc3f8bd711ddbecaf57aee9b30b50f28c7 (patch) | |
tree | 8bf382825e81cf1a74aaa45ecb96b26cd23d5968 /tcp_output.c | |
parent | c91a2b71b4fd62dfa8ca98b217334b946aa69ee3 (diff) | |
download | slirp-2.5.0-rc4.zip slirp-2.5.0-rc4.tar.gz slirp-2.5.0-rc4.tar.bz2 |
slirp: Fix type casts and format strings in debug codev2.5.1.1v2.5.1v2.5.0-rc4v2.5.0-rc3v2.5.0-rc2v2.5.0-rc1v2.5.0-rc0v2.5.0
Casting pointers to long won't work on 64 bit Windows.
It is not needed with the right format strings.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'tcp_output.c')
-rw-r--r-- | tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcp_output.c b/tcp_output.c index 1fe77da..35c00e3 100644 --- a/tcp_output.c +++ b/tcp_output.c @@ -65,7 +65,7 @@ int tcp_output(struct tcpcb *tp) int idle, sendalot; DEBUG_CALL("tcp_output"); - DEBUG_ARG("tp = %lx", (long)tp); + DEBUG_ARG("tp = %p", tp); /* * Determine length of data that should be transmitted, |