forked from mirrors/gecko-dev
Bug 1651210 - uint variant values should convert over as uints, not ints r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D82891
This commit is contained in:
parent
35dd2fb2b2
commit
b9f9344d05
1 changed files with 2 additions and 2 deletions
|
|
@ -78,8 +78,8 @@ nsresult nsDiscriminatedUnion::ToManageableNumber(
|
|||
// This group results in a uint32_t...
|
||||
|
||||
case nsIDataType::VTYPE_UINT32:
|
||||
aOutData->u.mInt32Value = u.mUint32Value;
|
||||
aOutData->mType = nsIDataType::VTYPE_INT32;
|
||||
aOutData->u.mUint32Value = u.mUint32Value;
|
||||
aOutData->mType = nsIDataType::VTYPE_UINT32;
|
||||
return NS_OK;
|
||||
|
||||
// This group results in a double...
|
||||
|
|
|
|||
Loading…
Reference in a new issue