Fix warning
This commit is contained in:
parent
191c4edc54
commit
e99d75ea9c
|
@ -191,7 +191,7 @@ struct CmapSubtableFormat4
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!segment
|
if (!segment
|
||||||
|| cp != segment->end_code + 1)
|
|| cp != segment->end_code + 1u)
|
||||||
{
|
{
|
||||||
segment = segments->push ();
|
segment = segments->push ();
|
||||||
segment->start_code.set (cp);
|
segment->start_code.set (cp);
|
||||||
|
@ -199,7 +199,7 @@ struct CmapSubtableFormat4
|
||||||
segment->use_delta = true;
|
segment->use_delta = true;
|
||||||
} else {
|
} else {
|
||||||
segment->end_code.set (cp);
|
segment->end_code.set (cp);
|
||||||
if (last_gid + 1 != new_gid)
|
if (last_gid + 1u != new_gid)
|
||||||
// gid's are not consecutive in this segment so delta
|
// gid's are not consecutive in this segment so delta
|
||||||
// cannot be used.
|
// cannot be used.
|
||||||
segment->use_delta = false;
|
segment->use_delta = false;
|
||||||
|
|
Loading…
Reference in New Issue