diff options
Diffstat (limited to 'freetype/src/cff/cf2hints.c')
-rw-r--r-- | freetype/src/cff/cf2hints.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/freetype/src/cff/cf2hints.c b/freetype/src/cff/cf2hints.c index 040d193f3..0e2700021 100644 --- a/freetype/src/cff/cf2hints.c +++ b/freetype/src/cff/cf2hints.c @@ -697,10 +697,10 @@ /* make room to insert */ { - CF2_Int iSrc = hintmap->count - 1; - CF2_Int iDst = isPair ? hintmap->count + 1 : hintmap->count; + CF2_UInt iSrc = hintmap->count - 1; + CF2_UInt iDst = isPair ? hintmap->count + 1 : hintmap->count; - CF2_Int count = hintmap->count - indexInsert; + CF2_UInt count = hintmap->count - indexInsert; if ( iDst >= CF2_MAX_HINT_EDGES ) |