diff options
author | Lei Li <lilei@linux.vnet.ibm.com> | 2013-03-06 22:29:16 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-08 10:22:14 +0100 |
commit | 4bd1afbdb3a228683dafa77a9fb3093f0dfab1de (patch) | |
tree | db9affaa933f20c3bbcfd9d5c46b11b65c1369bd /coroutine-sigaltstack.c | |
parent | 58427a0f42679c875b077b7adc5db36897973865 (diff) | |
download | qemu-4bd1afbdb3a228683dafa77a9fb3093f0dfab1de.zip qemu-4bd1afbdb3a228683dafa77a9fb3093f0dfab1de.tar.gz qemu-4bd1afbdb3a228683dafa77a9fb3093f0dfab1de.tar.bz2 |
osdep: replace setsockopt by qemu_setsockopt
Fix the compiler warning when cross build qemu-ga
for windows by using qemu_setsockopt() instead of
setsockopt().
util/osdep.c: In function 'socket_set_nodelay':
util/osdep.c:69:5: warning: passing argument 4 of 'setsockopt' from
incompatible pointer type [enabled by default]
In file included from /home/lei/qemu_b/include/sysemu/os-win32.h:30:0,
from /home/lei/qemu_b/include/qemu-common.h:46,
from util/osdep.c:48:
/usr/i686-w64-mingw32/sys-root/mingw/include/winsock2.h:990:63: note:
expected 'const char *' but argument is of type 'int *'
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'coroutine-sigaltstack.c')
0 files changed, 0 insertions, 0 deletions