mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 562428 - comparison between signed and unsigned integer expressions in nsSVGGlyphFrame::GetCharNumAtPosition, r=roc
This commit is contained in:
parent
1bd1798a5a
commit
613b3bcb9f
@ -1307,7 +1307,8 @@ nsSVGGlyphFrame::GetCharNumAtPosition(nsIDOMSVGPoint *point)
|
||||
// iter is the beginning of a cluster (or of the entire run);
|
||||
// look ahead for the next cluster start, then measure the entire cluster
|
||||
PRInt32 limit = i + 1;
|
||||
while (limit < mTextRun->GetLength() && !mTextRun->IsClusterStart(limit)) {
|
||||
while (limit < (PRInt32)mTextRun->GetLength() &&
|
||||
!mTextRun->IsClusterStart(limit)) {
|
||||
++limit;
|
||||
}
|
||||
gfxTextRun::Metrics metrics =
|
||||
|
Loading…
Reference in New Issue
Block a user