| Index: source/i18n/regexcmp.cpp
|
| diff --git a/source/i18n/regexcmp.cpp b/source/i18n/regexcmp.cpp
|
| index 0c2196f24ede57d849ee3e221ba45ea8e7c8c04c..ea01d5ab60bd28dce80a60b82a656c032a675c19 100644
|
| --- a/source/i18n/regexcmp.cpp
|
| +++ b/source/i18n/regexcmp.cpp
|
| @@ -3471,7 +3471,7 @@ int32_t RegexCompile::maxMatchLength(int32_t start, int32_t end) {
|
| break;
|
| }
|
|
|
| - int32_t maxLoopCount = fRXPat->fCompiledPat->elementAti(loc+3);
|
| + int32_t maxLoopCount = static_cast<int32_t>(fRXPat->fCompiledPat->elementAti(loc+3));
|
| if (maxLoopCount == -1) {
|
| // Unbounded Loop. No upper bound on match length.
|
| currentLen = INT32_MAX;
|
|
|