mirror of
https://github.com/corda/corda.git
synced 2025-01-06 05:04:20 +00:00
fix int32_t*/jint* type incompatibility in java-nio.cpp
This commit is contained in:
parent
03c3182497
commit
c17710d2b0
@ -593,8 +593,8 @@ Java_java_nio_channels_DatagramChannel_receive(JNIEnv* e,
|
||||
} else if (r == 0) {
|
||||
return -1;
|
||||
} else {
|
||||
e->SetIntArrayRegion(address, 0, 1, &host);
|
||||
e->SetIntArrayRegion(address, 1, 1, &port);
|
||||
jint jhost = host; e->SetIntArrayRegion(address, 0, 1, &jhost);
|
||||
jint jport = port; e->SetIntArrayRegion(address, 1, 1, &jport);
|
||||
}
|
||||
|
||||
return r;
|
||||
|
Loading…
Reference in New Issue
Block a user