mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-07 16:58:02 +02:00
removing compiler warnings
This commit is contained in:
parent
08270698e7
commit
025bbaa967
1 changed files with 2 additions and 2 deletions
|
|
@ -802,7 +802,7 @@
|
|||
return 0;
|
||||
|
||||
Found:
|
||||
if ( charCode < seg4->startCount )
|
||||
if ( charCode < (FT_ULong) seg4->startCount )
|
||||
charCode = seg4->startCount;
|
||||
|
||||
/* if the idRangeOffset is 0, all chars in the map exist */
|
||||
|
|
@ -887,7 +887,7 @@
|
|||
|
||||
cmap6 = &cmap->c.cmap6;
|
||||
|
||||
if ( charCode < cmap6->firstCode )
|
||||
if ( charCode < (FT_ULong) cmap6->firstCode )
|
||||
charCode = cmap6->firstCode;
|
||||
|
||||
charCode -= cmap6->firstCode;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue