diff --git a/src/hb-set-private.hh b/src/hb-set-private.hh index 576c169e6..54dd610ed 100644 --- a/src/hb-set-private.hh +++ b/src/hb-set-private.hh @@ -273,7 +273,7 @@ struct hb_set_t { page->add (g); - array++; + array = (const T *) ((const char *) array + stride); count--; } while (count && (g = *array, start <= g && g < end)); @@ -302,7 +302,7 @@ struct hb_set_t last_g = g; page->add (g); - array++; + array = (const T *) ((const char *) array + stride); count--; } while (count && (g = *array, g < end));