We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8d8b6 commit 539b49bCopy full SHA for 539b49b
stdlib/public/Concurrency/Actor.cpp
@@ -2774,7 +2774,8 @@ swift::swift_distributedActor_remote_initialize(const Metadata *actorType) {
2774
2775
// TODO: remove this memset eventually, today we only do this to not have
2776
// to modify the destructor logic, as releasing zeroes is no-op
2777
- memset(alloc + 1, 0, metadata->getInstanceSize() - sizeof(HeapObject));
+ memset((void *)(alloc + 1), 0,
2778
+ metadata->getInstanceSize() - sizeof(HeapObject));
2779
2780
// TODO(distributed): a remote one does not have to have the "real"
2781
// default actor body, e.g. we don't need an executor at all; so
0 commit comments