Skip to content

Commit 372834b

Browse files
authored
Merge pull request #21841 from linux-on-ibm-z/swift5.0-s390x-tupleSize-fix
Fix test case regressions on s390x arch
2 parents 62c87b9 + 808fe01 commit 372834b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Remote/MetadataReader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ class MetadataReader {
11131113
case MetadataKind::Tuple: {
11141114
auto numElementsAddress = address +
11151115
TargetTupleTypeMetadata<Runtime>::getOffsetToNumElements();
1116-
uint32_t numElements;
1116+
StoredSize numElements;
11171117
if (!Reader->readInteger(RemoteAddress(numElementsAddress),
11181118
&numElements))
11191119
return nullptr;

0 commit comments

Comments
 (0)