accept4, fcntl, socket modules: Avoid warnings on x86_64 mingw64.
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Sat, 28 Jan 2012 12:23:31 +0000 (13:23 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 28 Jan 2012 12:23:31 +0000 (13:23 +0100)
commitc47bb7060a7947d3c454a54f4b80b3c8283407d0
treee5ee8b846db6ae9f15d05fa15b0d6c26119ca182
parent5cddd1726a6c11d6a7064892e4b403ed92b794d6
accept4, fcntl, socket modules: Avoid warnings on x86_64 mingw64.

* lib/accept4.c (accept4): Use intptr_t to convert handle pointer to
an integer.
* lib/fcntl.c (dupfd): Likewise.
* lib/w32sock.h (SOCKET_TO_FD): Likewise.
ChangeLog
lib/accept4.c
lib/fcntl.c
lib/w32sock.h