Fix warning 'comparison between signed and unsigned integer expressions'
With gcc on Windows.
This commit is contained in:
parent
0c7cf8df10
commit
6d33485337
@ -762,7 +762,11 @@ static gint socket_fd_check_io(gint fd, GIOCondition cond)
|
||||
#endif
|
||||
|
||||
FD_ZERO(&fds);
|
||||
#ifdef G_OS_WIN32
|
||||
FD_SET((SOCKET)fd, &fds);
|
||||
#else
|
||||
FD_SET(fd, &fds);
|
||||
#endif
|
||||
|
||||
if (cond == G_IO_IN)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user