Skip to content

Commit 7d234d7

Browse files
committed
More build fixes
1 parent 6cb9e5c commit 7d234d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmark/single-source/NaiveRangeReplaceableCollectionConformance.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public func runAppendLargeContiguous(N: Int) {
7878
for _ in 1...N {
7979
var rrc = NaiveRRC()
8080
rrc.append(contentsOf: contiguous)
81-
blackHole(rrc.count + rrc[0])
81+
blackHole(rrc.count + Int(rrc[0]))
8282
}
8383
}
8484

@@ -89,14 +89,14 @@ public func runAppendSmallContiguousRepeatedly(N: Int) {
8989
for _ in 1...1_000_000 {
9090
rrc.append(contentsOf: contiguous)
9191
}
92-
blackHole(rrc.count + rrc[0])
92+
blackHole(rrc.count + Int(rrc[0]))
9393
}
9494
}
9595

9696
@inline(never)
9797
public func runInitLargeContiguous(N: Int) {
9898
for _ in 1...N {
9999
var rrc = NaiveRRC(contiguous)
100-
blackHole(rrc.count + rrc[0])
100+
blackHole(rrc.count + Int(rrc[0]))
101101
}
102102
}

0 commit comments

Comments
 (0)