summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2002-02-06 11:22:01 +0000
committerDavid Turner <david@freetype.org>2002-02-06 11:22:01 +0000
commit025bbaa967ef69f0831bdf22fa621aaba476141f (patch)
tree5ed62c752ff0a975397cb359ec29495c1b833e13
parent08270698e7e3dda6e9396565737b432fcb69e974 (diff)
downloadfreetype2-025bbaa967ef69f0831bdf22fa621aaba476141f.tar.gz
removing compiler warnings
-rw-r--r--src/sfnt/ttcmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/ttcmap.c b/src/sfnt/ttcmap.c
index 1a3fb17f3..2fd58cf17 100644
--- 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;