mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
Fix warning
This commit is contained in:
1 parent
191c4edc54
commit
e99d75ea9c
1 file changed
+2
-2
@@ -191,7 +191,7 @@ struct CmapSubtableFormat4
|
||||
}
|
||||
|
||||
if (!segment
|
||||
|| cp != segment->end_code + 1)
|
||||
|| cp != segment->end_code + 1u)
|
||||
{
|
||||
segment = segments->push ();
|
||||
segment->start_code.set (cp);
|
||||
@@ -199,7 +199,7 @@ struct CmapSubtableFormat4
|
||||
segment->use_delta = true;
|
||||
} else {
|
||||
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
|
||||
// cannot be used.
|
||||
segment->use_delta = false;
|
||||
|
||||
Reference in new issue
Block a user