[set] Use StructAtOffsetUnaligned
This commit is contained in:
parent
a0febbac43
commit
24958b8868
|
@ -308,7 +308,7 @@ struct hb_set_t
|
||||||
{
|
{
|
||||||
page->add (g);
|
page->add (g);
|
||||||
|
|
||||||
array = (const T *) ((const char *) array + stride);
|
array = &StructAtOffsetUnaligned<T> (array, stride);
|
||||||
count--;
|
count--;
|
||||||
}
|
}
|
||||||
while (count && (g = *array, start <= g && g < end));
|
while (count && (g = *array, start <= g && g < end));
|
||||||
|
|
Loading…
Reference in New Issue