| Index: Source/platform/fonts/SimpleShaper.cpp
|
| diff --git a/Source/platform/fonts/SimpleShaper.cpp b/Source/platform/fonts/SimpleShaper.cpp
|
| index 4a5605bcdfd143a21ee2563071ad4042db81caea..d493b78d65d20f678401b45c4b1e4aaf59ea204a 100644
|
| --- a/Source/platform/fonts/SimpleShaper.cpp
|
| +++ b/Source/platform/fonts/SimpleShaper.cpp
|
| @@ -233,14 +233,14 @@ unsigned SimpleShaper::advanceInternal(TextIterator& textIterator, GlyphBuffer*
|
| return consumedCharacters;
|
| }
|
|
|
| -unsigned SimpleShaper::advance(int offset, GlyphBuffer* glyphBuffer)
|
| +unsigned SimpleShaper::advance(unsigned offset, GlyphBuffer* glyphBuffer)
|
| {
|
| - int length = m_run.length();
|
| + unsigned length = m_run.length();
|
|
|
| if (offset > length)
|
| offset = length;
|
|
|
| - if (m_currentCharacter >= static_cast<unsigned>(offset))
|
| + if (m_currentCharacter >= offset)
|
| return 0;
|
|
|
| if (m_run.is8Bit()) {
|
|
|