Skip to content

Commit 792fef1

Browse files
committed
libswift: fix a static assert when compiling on architectures with 32-bit pointer sizes
rdar://82008922
1 parent d181336 commit 792fef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ typedef struct {
3232

3333
enum {
3434
BridgedOperandSize = 4 * sizeof(uintptr_t),
35-
BridgedSuccessorSize = 5 * sizeof(uintptr_t)
35+
BridgedSuccessorSize = 4 * sizeof(uintptr_t) + sizeof(uint64_t)
3636
};
3737

3838
typedef struct {

0 commit comments

Comments
 (0)