mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
silence warnings
This commit is contained in:
1 parent
35b64dfb57
commit
51d5bf4ca2
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
Reference in new issue
Block a user