mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
b=513807 comparison of unsigned expression >= 0 is always true when constructing nsGenConNodes r=dbaron
--HG-- extra : rebase_source : b4d995793272279136753949181b6c2793b111bf
This commit is contained in:
parent
b23629e9fe
commit
aaa7227840
@ -121,7 +121,7 @@ struct nsCounterUseNode : public nsCounterNode {
|
||||
, mCounterStyle(aCounterStyle)
|
||||
, mAllCounters(aAllCounters)
|
||||
{
|
||||
NS_ASSERTION(aContentIndex >= 0, "out of range");
|
||||
NS_ASSERTION(aContentIndex <= PR_INT32_MAX, "out of range");
|
||||
}
|
||||
|
||||
virtual PRBool InitTextFrame(nsGenConList* aList,
|
||||
|
@ -59,7 +59,7 @@ struct nsQuoteNode : public nsGenConNode {
|
||||
aType == eStyleContentType_NoOpenQuote ||
|
||||
aType == eStyleContentType_NoCloseQuote,
|
||||
"incorrect type");
|
||||
NS_ASSERTION(aContentIndex >= 0, "out of range");
|
||||
NS_ASSERTION(aContentIndex <= PR_INT32_MAX, "out of range");
|
||||
}
|
||||
|
||||
virtual PRBool InitTextFrame(nsGenConList* aList,
|
||||
|
Loading…
Reference in New Issue
Block a user