Index: src/OFKernelEventObserver_select.m ================================================================== --- src/OFKernelEventObserver_select.m +++ src/OFKernelEventObserver_select.m @@ -46,11 +46,11 @@ - init { self = [super init]; #ifndef OF_WINDOWS - if (_cancelFD[0] >= FD_SETSIZE) + if (_cancelFD[0] >= (int)FD_SETSIZE) @throw [OFInitializationFailedException exception]; #endif FD_ZERO(&_readFDs); FD_ZERO(&_writeFDs); @@ -70,11 +70,11 @@ if (fd < 0 || fd > INT_MAX - 1) @throw [OFOutOfRangeException exception]; #ifndef OF_WINDOWS - if (fd >= FD_SETSIZE) + if (fd >= (int)FD_SETSIZE) @throw [OFOutOfRangeException exception]; #endif if (fd > _maxFD) _maxFD = fd; @@ -88,11 +88,11 @@ if (fd < 0 || fd > INT_MAX - 1) @throw [OFOutOfRangeException exception]; #ifndef OF_WINDOWS - if (fd >= FD_SETSIZE) + if (fd >= (int)FD_SETSIZE) @throw [OFOutOfRangeException exception]; #endif if (fd > _maxFD) _maxFD = fd; @@ -108,11 +108,11 @@ if (fd < 0) @throw [OFOutOfRangeException exception]; #ifndef OF_WINDOWS - if (fd >= FD_SETSIZE) + if (fd >= (int)FD_SETSIZE) @throw [OFOutOfRangeException exception]; #endif FD_CLR((of_socket_t)fd, &_readFDs); } @@ -125,11 +125,11 @@ if (fd < 0) @throw [OFOutOfRangeException exception]; #ifndef OF_WINDOWS - if (fd >= FD_SETSIZE) + if (fd >= (int)FD_SETSIZE) @throw [OFOutOfRangeException exception]; #endif FD_CLR((of_socket_t)fd, &_writeFDs); }