Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion PlaygroundLogger/PlaygroundLogger/Common.swift
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func boundCheckRanges(_ ranges : [ChildrenRange], _ upper_bound : UInt64) -> [Ch
return actual_ranges
}

extension Integer where Self.Stride: SignedInteger {
extension FixedWidthInteger where Self.Stride: SignedInteger {
func doFor (f: (Self) -> ()) {
for x in CountableRange(uncheckedBounds: (lower: 0 as Self, upper:self)) {
f(x)
Expand Down
2 changes: 1 addition & 1 deletion PlaygroundLogger/PlaygroundLogger/LoggerMirror.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ final class LoggerMirror {

var count: Int {
let direct_count = self.mirror.children.count
let base_count = (nil == self.superclass ? 0 : 1)
let base_count: Int64 = (nil == self.superclass ? 0 : 1)
return Int(direct_count+base_count)
}

Expand Down