qemu-e2k/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
..
COPYRIGHT
arp_table.c slirp: Fix types of IP address parameters 2011-08-05 12:51:11 +02:00
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
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.h Use new macro QEMU_PACKED for packed structures 2011-09-03 10:45:59 +00: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 slirp: Replace m_freem with m_free 2011-07-23 10:19:49 -05:00
libslirp.h main-loop: create main-loop.c 2011-10-21 18:14:30 +02:00
main.h Delayed IP packets 2011-08-03 12:57:11 +02:00
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.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
slirp_config.h slirp: Remove unused code for bad sprintf 2010-11-21 09:16:57 -06:00
socket.c Wrap recv to avoid warnings 2011-07-25 14:38:56 +00:00
socket.h
tcp.h slirp: Fix bit field types in IP header structs 2011-08-14 23:34:44 -07:00
tcp_input.c slirp: Fix use after release on tcp_input 2011-09-28 13:10:22 +02:00
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
tcpip.h
tftp.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
tftp.h slirp: Remove some type casts caused by bad declaration of x.tp_buf 2011-02-25 15:58:59 +00:00
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