On Fri, Mar 08, 2013 at 07:58:32PM +0100, Stefan Weil wrote: > Instead of adding missing type casts which are needed by MinGW for the > 4th argument, the patch uses qemu_setsockopt which was invented for this > purpose. > > Signed-off-by: Stefan Weil <s...@weilnetz.de> > --- > > I did not fix some coding style issues in modified slirp code > (tabs, line length). Nor did I replace setsockopt in code which > is unused for MinGW (linux-user, tests). > > - Stefan W. > > > bt-host.c | 2 +- > gdbstub.c | 2 +- > net/socket.c | 21 ++++++++++----------- > slirp/misc.c | 4 ++-- > slirp/socket.c | 4 ++-- > slirp/tcp_subr.c | 8 ++++---- > slirp/udp.c | 2 +- > util/osdep.c | 4 ++-- > util/qemu-sockets.c | 10 +++++----- > 9 files changed, 28 insertions(+), 29 deletions(-)
Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan