mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] arithmetic on a pointer to void is a GNU extension [-Wpointer-arith]
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user