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
..
2012-03-13 16:15:19 +01:00
2012-03-13 14:05:49 +01:00
2012-02-27 14:54:49 +01:00
2011-07-23 10:19:49 -05:00
2011-10-21 18:14:30 +02:00
2011-08-03 12:57:11 +02:00
2009-06-29 08:52:46 -05:00
2009-07-01 19:11:17 +00:00
2011-07-25 14:38:56 +00:00
2009-08-01 10:13:20 +00:00