mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[machinery] Minor
This commit is contained in:
1 parent
e101a67257
commit
85574ec287
1 file changed
+1
-1
+1
-1
@@ -70,7 +70,7 @@ static inline const Type& StructAtOffsetUnaligned(const void *P, unsigned int of
|
||||
{
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
return * reinterpret_cast<Type*> ((char *) P + offset);
|
||||
return * reinterpret_cast<const Type*> ((const char *) P + offset);
|
||||
#pragma GCC diagnostic pop
|
||||
}
|
||||
template<typename Type>
|
||||
|
||||
Reference in new issue
Block a user