silence warnings

This commit is contained in:
Michiharu Ariza 2018-10-02 14:38:06 -07:00
parent 35b64dfb57
commit 51d5bf4ca2
2 changed files with 2 additions and 2 deletions

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;

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 ();