diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-07-23 20:04:29 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-07-25 14:38:56 +0000 |
commit | ccd09ef0f5d4bccb53dc45cf8e7edab631a723f2 (patch) | |
tree | 9c53eaa2eb9826e06f0bd55469fe6ee10a28734a /ip_input.c | |
parent | 68a340053c766490b3c7460e543aebcc4bee4efa (diff) | |
download | slirp-0.15.0-rc1.zip slirp-0.15.0-rc1.tar.gz slirp-0.15.0-rc1.tar.bz2 |
Wrap recv to avoid warningsv0.15.1v0.15.0-rc2v0.15.0-rc1v0.15.0
Avoid warnings like these by wrapping recv():
CC slirp/ip_icmp.o
/src/qemu/slirp/ip_icmp.c: In function 'icmp_receive':
/src/qemu/slirp/ip_icmp.c:418:5: error: passing argument 2 of 'recv' from incompatible pointer type [-Werror]
/usr/local/lib/gcc/i686-mingw32msvc/4.6.0/../../../../i686-mingw32msvc/include/winsock2.h:547:32: note: expected 'char *' but argument is of type 'struct icmp *'
Remove also casts used to avoid warnings.
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'ip_input.c')
0 files changed, 0 insertions, 0 deletions