silence warnings

This commit is contained in:
Michiharu Ariza committed 2018-10-02 14:38:06 -07:00
1 parent 35b64dfb57
commit 51d5bf4ca2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ struct CSInterpEnv : InterpEnv<ARG>
!SUPER::argStack.check_pop_int (n))))
return false;
n += biasedSubrs.bias;
if (unlikely ((n < 0) || (n >= biasedSubrs.subrs->count)))
if (unlikely ((n < 0) || ((unsigned int)n >= biasedSubrs.subrs->count)))
return false;
subr_num = (unsigned int)n;
+1 -1
View File
@@ -351,8 +351,8 @@ struct cff_subset_plan {
: final_size (0),
orig_fdcount (0),
subset_fdcount (1),
subset_fdselect_format (0),
offsets (),
subset_fdselect_format (0),
drop_hints (false)
{
topdict_sizes.init ();