mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 863804 - Fix -Wsign-compare warning in MacroAssemblerARM::transferMultipleByRunsImpl(). r=dvander
This commit is contained in:
parent
cb390ddbfe
commit
7b5717d764
@ -371,6 +371,8 @@ private:
|
||||
transferMultipleByRunsImpl(FloatRegisterSet set, LoadStore ls,
|
||||
Register rm, DTMMode mode, int32_t sign)
|
||||
{
|
||||
JS_ASSERT(sign == 1 || sign == -1);
|
||||
|
||||
int32_t delta = sign * sizeof(double);
|
||||
int32_t offset = 0;
|
||||
RegisterIterator iter(set);
|
||||
@ -384,7 +386,7 @@ private:
|
||||
finishFloatTransfer();
|
||||
}
|
||||
|
||||
JS_ASSERT(offset == set.size() * sizeof(double) * sign);
|
||||
JS_ASSERT(offset == static_cast<int32_t>(set.size() * sizeof(double)) * sign);
|
||||
return offset;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user