qemu-e2k/net
Stefan Weil 73062dfe6b net/socket: Fix compiler warning (regression for MinGW)
Commit 213fd5087e removed a type cast
which is needed for MinGW:

net/socket.c:136: warning:
 pointer targets in passing argument 2 of ‘sendto’ differ in signedness
/usr/lib/gcc/amd64-mingw32msvc/4.4.4/../../../../amd64-mingw32msvc/include/winsock2.h:1313: note:
 expected ‘const char *’ but argument is of type ‘const uint8_t *’

Add a 'qemu_sendto' macro which provides that type cast where needed
and use the new macro instead of 'sendto'.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
2012-09-23 07:37:41 +01:00
..
checksum.c
checksum.h
dump.c net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
dump.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
hub.c net: broadcast hub packets if at least one port can receive 2012-09-14 08:40:33 +01:00
hub.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
Makefile.objs
queue.c net: do not report queued packets as sent 2012-09-14 08:40:32 +01:00
queue.h net: notify iothread after flushing queue 2012-09-14 08:40:31 +01:00
slirp.c qapi: avoid reserved keywords 2012-08-09 18:34:57 +00:00
slirp.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
socket.c net/socket: Fix compiler warning (regression for MinGW) 2012-09-23 07:37:41 +01:00
socket.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
tap-aix.c
tap-bsd.c
tap-haiku.c
tap-linux.c
tap-linux.h
tap-solaris.c
tap-win32.c net: Rename vc local variables to nc 2012-08-01 13:32:10 +01:00
tap.c monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param 2012-09-07 09:15:08 +03:00
tap.h net: Rename vc local variables to nc 2012-08-01 13:32:10 +01:00
util.c
util.h
vde.c net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00
vde.h net: Rename VLANClientState to NetClientState 2012-08-01 13:32:10 +01:00