Fix alignment error
This commit is contained in:
parent
dff1b809a0
commit
afa71ee8ef
|
@ -28,6 +28,7 @@
|
||||||
#define HB_SET_DIGEST_HH
|
#define HB_SET_DIGEST_HH
|
||||||
|
|
||||||
#include "hb.hh"
|
#include "hb.hh"
|
||||||
|
#include "hb-machinery.hh"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The set-digests here implement various "filters" that support
|
* The set-digests here implement various "filters" that support
|
||||||
|
@ -97,7 +98,7 @@ struct hb_set_digest_bits_pattern_t
|
||||||
for (unsigned int i = 0; i < count; i++)
|
for (unsigned int i = 0; i < count; i++)
|
||||||
{
|
{
|
||||||
add (*array);
|
add (*array);
|
||||||
array = (const T *) (stride + (const char *) array);
|
array = &StructAtOffsetUnaligned<T> ((const void *) array, stride);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
|
Loading…
Reference in New Issue