{
for ( int n = 0; n < Max; n++ )
{
- if ( wxFD_ISSET(fd, &m_fds[n]) )
+ if ( wxFD_ISSET(fd, (fd_set*) &m_fds[n]) )
return true;
}
wxLogTrace(wxSelectDispatcher_Trace,
_T("Registered fd %d for %s events"), fd, ms_names[n]);
}
- else if ( wxFD_ISSET(fd, &m_fds[n]) )
+ else if ( wxFD_ISSET(fd, (fd_set*) &m_fds[n]) )
{
wxFD_CLR(fd, &m_fds[n]);
wxLogTrace(wxSelectDispatcher_Trace,
{
for ( int n = 0; n < Max; n++ )
{
- if ( wxFD_ISSET(fd, &m_fds[n]) )
+ if ( wxFD_ISSET(fd, (fd_set*) &m_fds[n]) )
{
wxLogTrace(wxSelectDispatcher_Trace,
_T("Got %s event on fd %d"), ms_names[n], fd);