Skip to content

Commit 9fbb897

Browse files
committed
Fix alignment of the default actor storage type
1 parent eb6e74a commit 9fbb897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/runtime/KnownMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ namespace ctypes {
8989
// Types that are defined in the _Concurrency library
9090

9191
// Default actor storage type.
92-
struct BD {
92+
struct alignas(2 * alignof(void*)) BD {
9393
void *storage[NumWords_DefaultActor];
9494
};
9595

0 commit comments

Comments
 (0)