mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
Slight fix for improved type safety
This commit is contained in:
parent
0d5b7bd126
commit
11d218f956
@ -449,7 +449,7 @@ Java_java_lang_Double_doubleFromString(JNIEnv*e, jclass, jstring s,
|
||||
{
|
||||
const char* chars = e->GetStringUTFChars(s, 0);
|
||||
double d = 0.0;
|
||||
int numRead = 0;
|
||||
jint numRead = 0;
|
||||
|
||||
if (chars) {
|
||||
char* lastRead;
|
||||
@ -481,7 +481,7 @@ Java_java_lang_Float_floatFromString(JNIEnv*e, jclass, jstring s,
|
||||
{
|
||||
const char* chars = e->GetStringUTFChars(s, 0);
|
||||
float f = 0.0;
|
||||
int numRead = 0;
|
||||
jint numRead = 0;
|
||||
|
||||
if (chars) {
|
||||
char* lastRead;
|
||||
|
Loading…
Reference in New Issue
Block a user