mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
Fix signed vs. unsigned comparison for 32bit build with mingw64
This commit is contained in:
parent
a6998238d5
commit
83c51f4801
@ -742,9 +742,9 @@ Java_java_nio_channels_SocketSelector_natDoSocketSelect(JNIEnv *e, jclass,
|
||||
if (FD_ISSET(s->control.writer(), &(s->write)) or
|
||||
FD_ISSET(s->control.writer(), &(s->except)))
|
||||
{
|
||||
unsigned socket = s->control.writer();
|
||||
FD_CLR(socket, &(s->write));
|
||||
FD_CLR(socket, &(s->except));
|
||||
int socket = s->control.writer();
|
||||
FD_CLR(static_cast<unsigned>(socket), &(s->write));
|
||||
FD_CLR(static_cast<unsigned>(socket), &(s->except));
|
||||
|
||||
int error;
|
||||
socklen_t size = sizeof(int);
|
||||
|
Loading…
Reference in New Issue
Block a user