mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 791608 (part 5) - Fix compile warning about signed/unsigned comparison. r=jwalden.
--HG-- extra : rebase_source : a8b8c61addc606a0d17520f3cfac18762836c164
This commit is contained in:
parent
93a99b2745
commit
43ec468195
@ -407,7 +407,7 @@ SPSEntryMarker::~SPSEntryMarker()
|
||||
|
||||
JS_FRIEND_API(jsbytecode*)
|
||||
ProfileEntry::pc() volatile {
|
||||
JS_ASSERT_IF(idx != NullPCIndex, idx >= 0 && idx < script()->length);
|
||||
JS_ASSERT_IF(idx != NullPCIndex, idx >= 0 && uint32_t(idx) < script()->length);
|
||||
return idx == NullPCIndex ? NULL : script()->code + idx;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user