mirror of
https://github.com/corda/corda.git
synced 2025-01-19 11:16:54 +00:00
fix incorrect jvalue marshalling in compile.cpp
4512a9a
introduced a new ArgumentList constructor which was handling
some types incorrectly (e.g. implicitly converting floats to
integers). This commit fixes it.
This commit is contained in:
parent
5f1b086150
commit
86be0c409c
@ -8249,15 +8249,15 @@ class ArgumentList {
|
||||
break;
|
||||
|
||||
case 'D':
|
||||
addLong(arguments[index++].d);
|
||||
addLong(doubleToBits(arguments[index++].d));
|
||||
break;
|
||||
|
||||
case 'F':
|
||||
addLong(arguments[index++].f);
|
||||
addInt(floatToBits(arguments[index++].f));
|
||||
break;
|
||||
|
||||
default:
|
||||
addLong(arguments[index++].i);
|
||||
addInt(arguments[index++].i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user