ref: cae232d4f40552ab12960dc62610f7f08954365b
parent: 0f7c2f1aa58c2251d6c1a3f388a50bfa97cb097f
author: David Turner <[email protected]>
date: Wed Feb 6 06:22:01 EST 2002
removing compiler warnings
--- a/src/sfnt/ttcmap.c
+++ b/src/sfnt/ttcmap.c
@@ -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;