diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-03 11:51:18 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-03 11:51:18 -0400 |
commit | 97bcf0b645fa5ce14cfd806548c6805952fd3e76 (patch) | |
tree | 1025e77b336468be60e468d71c9bf78a6bc7788f /editeng | |
parent | Fix the dbgutil build. (diff) | |
download | core-97bcf0b645fa5ce14cfd806548c6805952fd3e76.tar.gz core-97bcf0b645fa5ce14cfd806548c6805952fd3e76.zip |
WaE: for Norbert's Mac OS tinderbox.
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/impedit2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx index 6a01a0f648fe..ec74f293c6c6 100644 --- a/editeng/source/editeng/impedit2.cxx +++ b/editeng/source/editeng/impedit2.cxx @@ -3965,7 +3965,7 @@ long ImpEditEngine::GetXPos( // End of Portion if ( pPortion->GetKind() == PORTIONKIND_TAB ) { - if ( (nTextPortion+1) < pParaPortion->GetTextPortions().Count() ) + if ( static_cast<size_t>(nTextPortion+1) < pParaPortion->GetTextPortions().Count() ) { const TextPortion* pNextPortion = pParaPortion->GetTextPortions()[nTextPortion+1]; if ( pNextPortion->GetKind() != PORTIONKIND_TAB ) |