qemu/slirp
Stefan Weil 2d26512b45 slirp: Fix compiler warning for w64
Casting a pointer to an integer value must use uintptr_t or intptr_t
(not long) for portable code. MinGW-w64 requires this because
sizeof(long) != sizeof(void *) for w64 hosts, so casting to long
raises a compiler warning.

I use uintptr_t instead of intptr_t because changing the sign does not
matter here and casting pointers to unsigned values seems more
reasonable (the unsigned value is a non negative offset.

Cc: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
2012-03-13 16:15:19 +01:00
..
arp_table.c
bootp.c slirp: Fix assertion failure on rejected DHCP requests 2012-02-27 14:55:07 +01:00
bootp.h
cksum.c slirp: Fix compiler warning for w64 2012-03-13 16:15:19 +01:00
COPYRIGHT
debug.h
if.c slirp: Remove unneeded if_queued 2012-03-13 14:05:49 +01:00
if.h slirp: Clean up ifs_init 2012-02-27 14:54:49 +01:00
ip_icmp.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
ip_icmp.h slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
ip_input.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
ip_output.c
ip.h
libslirp.h
main.h
mbuf.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
mbuf.h slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
misc.c slirp/misc: fix gcc __warn_memset_zero_len warnings 2012-02-24 13:24:42 +00:00
misc.h
sbuf.c
sbuf.h
slirp_config.h
slirp.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
slirp.h slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
socket.c
socket.h
tcp_input.c
tcp_output.c
tcp_subr.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c
tftp.h
udp.c slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00
udp.h slirp: Cleanup resources on instance removal 2012-03-13 14:05:49 +01:00