[NFC] arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]

This commit is contained in:
David Zarzycki
2021-02-01 07:42:19 -05:00
parent ce587f0a13
commit f4be48b157

View File

@@ -310,7 +310,7 @@ makeLocalSection(const void *Buffer,
}
swift_reflection_section_t LS = {(void *)Buffer,
(void *)(Buffer + Section.Size)};
(void *)((uint8_t *)Buffer + Section.Size)};
return LS;
}