events is an array of HANDLE's, not an array of pointers of HANDLE's

SVN revision: 43162
This commit is contained in:
Vincent Torri 2009-10-20 10:46:05 +00:00
parent d0155d87ee
commit 64d7bf0c71
1 changed files with 8 additions and 8 deletions

View File

@ -706,14 +706,14 @@ static int
_ecore_main_win32_select(int nfds, fd_set *readfds, fd_set *writefds,
fd_set *exceptfds, struct timeval *tv)
{
HANDLE* events[MAXIMUM_WAIT_OBJECTS];
int sockets[MAXIMUM_WAIT_OBJECTS];
int events_nbr = 0;
DWORD result;
DWORD timeout;
MSG msg;
int i;
int res;
HANDLE events[MAXIMUM_WAIT_OBJECTS];
int sockets[MAXIMUM_WAIT_OBJECTS];
int events_nbr = 0;
DWORD result;
DWORD timeout;
MSG msg;
int i;
int res;
/* Create an event object per socket */
for(i = 0; i < nfds; i++)