mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix typo.
This commit is contained in:
parent
c249f3251a
commit
00839251a1
@ -248,6 +248,7 @@ PrepareValue(JSContext* aContext, const Type& aType, jsval aValue, Value& aResul
|
||||
return TypeError(aContext, "int32", aValue);
|
||||
|
||||
aResult.mData = &aResult.mValue.mInt32;
|
||||
break;
|
||||
case nsIForeignLibrary::INT64:
|
||||
// Do not implicitly lose bits.
|
||||
if (!jsvalToIntStrict(aValue, &aResult.mValue.mInt64))
|
||||
@ -275,6 +276,7 @@ PrepareValue(JSContext* aContext, const Type& aType, jsval aValue, Value& aResul
|
||||
return TypeError(aContext, "uint32", aValue);
|
||||
|
||||
aResult.mData = &aResult.mValue.mUint32;
|
||||
break;
|
||||
case nsIForeignLibrary::UINT64:
|
||||
// Do not implicitly lose bits.
|
||||
if (!jsvalToIntStrict(aValue, &aResult.mValue.mUint64))
|
||||
|
Loading…
Reference in New Issue
Block a user