[set] Use StructAtOffsetUnaligned

This commit is contained in:
Behdad Esfahbod 2019-05-17 16:20:36 -07:00
parent a0febbac43
commit 24958b8868
1 changed files with 1 additions and 1 deletions

View File

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