Skip to content

Commit 13944dc

Browse files
authored
Merge pull request #74031 from rintaro/basic-fixedbitset-chunkmask
[Basic] Fix return type of FixedBitSet::chunkMask()
2 parents 5824d88 + a8cc312 commit 13944dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/FixedBitSet.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class FixedBitSet {
7878
static size_t chunkIndex(ValueType i) {
7979
return size_t(i) / chunkSize;
8080
}
81-
static size_t chunkMask(ValueType i) {
81+
static ChunkType chunkMask(ValueType i) {
8282
return ChunkType(1) << (size_t(i) % chunkSize);
8383
}
8484

0 commit comments

Comments
 (0)