| Index: core/fxge/ge/fx_ge_fontmap.cpp
|
| diff --git a/core/fxge/ge/fx_ge_fontmap.cpp b/core/fxge/ge/fx_ge_fontmap.cpp
|
| index 27b82f5803177b2533647c690e4304680a46a911..4dd5a0ff49409268e7187e39093d4a4b43aac578 100644
|
| --- a/core/fxge/ge/fx_ge_fontmap.cpp
|
| +++ b/core/fxge/ge/fx_ge_fontmap.cpp
|
| @@ -1329,12 +1329,12 @@ int CFX_FontMapper::GetFaceSize() const {
|
| }
|
|
|
| FX_BOOL CFX_FontMapper::IsBuiltinFace(const FXFT_Face face) const {
|
| - for (int i = 0; i < MM_FACE_COUNT; ++i) {
|
| + for (size_t i = 0; i < MM_FACE_COUNT; ++i) {
|
| if (m_MMFaces[i] == face) {
|
| return TRUE;
|
| }
|
| }
|
| - for (int i = 0; i < FOXIT_FACE_COUNT; ++i) {
|
| + for (size_t i = 0; i < FOXIT_FACE_COUNT; ++i) {
|
| if (m_FoxitFaces[i] == face) {
|
| return TRUE;
|
| }
|
|
|