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.
2 parents b37d640 + 40c3655 commit ed871d5Copy full SHA for ed871d5
include/swift/Remote/MetadataReader.h
@@ -432,7 +432,7 @@ class MetadataReader {
432
if (!Reader->readBytes(RemoteAddress(ExistentialAddress),
433
(uint8_t *)&Container, sizeof(Container)))
434
return None;
435
- auto MetadataAddress = reinterpret_cast<StoredPointer>(Container.Type);
+ auto MetadataAddress = static_cast<StoredPointer>(Container.Type);
436
auto Metadata = readMetadata(MetadataAddress);
437
if (!Metadata)
438
0 commit comments