mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Fixed incorect argument type in jlong_to_jdouble() which was causing Java long values to get mangled.
This commit is contained in:
parent
6dc7057dbe
commit
0d6b7f4c5f
@ -312,7 +312,7 @@ static jlong jsint_to_jlong(jsint ivalue)
|
||||
return SInt64ToWide(val);
|
||||
}
|
||||
|
||||
static jdouble jlong_to_jdouble(lvalue)
|
||||
static jdouble jlong_to_jdouble(jlong lvalue)
|
||||
{
|
||||
SInt64 val = WideToSInt64(lvalue);
|
||||
return SInt64ToLongDouble(val);
|
||||
|
Loading…
x
Reference in New Issue
Block a user