Skip to content

Commit 1c7d789

Browse files
authored
Merge pull request swiftlang#35681 from davezarzycki/pr35681
2 parents ce587f0 + f4be48b commit 1c7d789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/tools/swift-reflection-test/swift-reflection-test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ makeLocalSection(const void *Buffer,
310310
}
311311

312312
swift_reflection_section_t LS = {(void *)Buffer,
313-
(void *)(Buffer + Section.Size)};
313+
(void *)((uint8_t *)Buffer + Section.Size)};
314314
return LS;
315315
}
316316

0 commit comments

Comments
 (0)