mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +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
|
if (FD_ISSET(s->control.writer(), &(s->write)) or
|
||||||
FD_ISSET(s->control.writer(), &(s->except)))
|
FD_ISSET(s->control.writer(), &(s->except)))
|
||||||
{
|
{
|
||||||
unsigned socket = s->control.writer();
|
int socket = s->control.writer();
|
||||||
FD_CLR(socket, &(s->write));
|
FD_CLR(static_cast<unsigned>(socket), &(s->write));
|
||||||
FD_CLR(socket, &(s->except));
|
FD_CLR(static_cast<unsigned>(socket), &(s->except));
|
||||||
|
|
||||||
int error;
|
int error;
|
||||||
socklen_t size = sizeof(int);
|
socklen_t size = sizeof(int);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user