Skip to content

Commit 9a27add

Browse files
committed
[RemoteMirrors] Fix ReflectionContext.h cast on 32-bit.
1 parent 66fc743 commit 9a27add

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/swift/Reflection/ReflectionContext.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ class ReflectionContext
163163
return false;
164164

165165
auto LocalStartAddress = reinterpret_cast<uintptr_t>(Buf.get());
166-
auto RemoteStartAddress =
167-
reinterpret_cast<uint64_t>(ImageStart.getAddressData());
166+
auto RemoteStartAddress = static_cast<uintptr_t>(ImageStart.getAddressData());
168167

169168
ReflectionInfo info = {
170169
{{FieldMd.first.startAddress(), FieldMd.first.endAddress()}, 0},

0 commit comments

Comments
 (0)